Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007947/0.0007947, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008394/0.0008394, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9782/0.9782, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.838/0.838, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009753/0.0009753, allocations: 66.58 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6012/0.6021, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00446/0.6066, allocations: 3.408 MB / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 9.737e-05/0.6067, allocations: 63.52 kB / 0.8212 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.6067, allocations: 0 / 0.8212 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.6069, allocations: 9.109 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.862e-05/0.607, allocations: 10.64 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.6075, allocations: 193.5 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.845e-05/0.6076, allocations: 39.22 kB / 0.8215 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.6077, allocations: 4.594 kB / 0.8215 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.518e-05/0.6077, allocations: 15.97 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.6078, allocations: 13.75 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.6078, allocations: 3.938 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.6082, allocations: 185.1 kB / 0.8217 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.6082, allocations: 8.031 kB / 0.8217 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.6082, allocations: 18.12 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.6085, allocations: 132.8 kB / 0.8219 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6085, allocations: 0 / 0.8219 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.405e-06/0.6085, allocations: 4 kB / 0.8219 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.6085, allocations: 0 / 0.8219 GB, free: 14.56 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004082/0.6089, allocations: 274.3 kB / 0.8221 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.609, allocations: 8 kB / 0.8221 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.609, allocations: 35.55 kB / 0.8222 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.6091, allocations: 2.719 kB / 0.8222 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.6092, allocations: 104.5 kB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.6092, allocations: 54.58 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.6093, allocations: 10.5 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.6094, allocations: 48.45 kB / 0.8224 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.6094, allocations: 0 / 0.8224 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.6094, allocations: 0 / 0.8224 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.6094, allocations: 0.7969 kB / 0.8224 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.611e-05/0.6095, allocations: 16.41 kB / 0.8224 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.61, allocations: 269 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.61, allocations: 24.5 kB / 0.8227 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.6101, allocations: 5.375 kB / 0.8227 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-05/0.6101, allocations: 38.27 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.6102, allocations: 30.56 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.793e-06/0.6102, allocations: 0 / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001768/0.6104, allocations: 44.08 kB / 0.8228 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.6104, allocations: 51.41 kB / 0.8228 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.6105, allocations: 102.6 kB / 0.8229 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.6105, allocations: 25.7 kB / 0.8229 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.6106, allocations: 93.72 kB / 0.823 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-06/0.6106, allocations: 0 / 0.823 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.6106, allocations: 18.2 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6107, allocations: 318.8 kB / 0.8234 GB, free: 13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.6107, allocations: 3.469 kB / 0.8234 GB, free: 13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.3e-05/0.6108, allocations: 20.14 kB / 0.8234 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.6108, allocations: 24.16 kB / 0.8234 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6108, allocations: 1.125 kB / 0.8234 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.446e-05/0.6109, allocations: 45.64 kB / 0.8235 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6109, allocations: 6.438 kB / 0.8235 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6109, allocations: 3.938 kB / 0.8235 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.6109, allocations: 1.281 kB / 0.8235 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.611, allocations: 15.27 kB / 0.8235 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.611, allocations: 0 / 0.8235 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.459e-05/0.611, allocations: 0 / 0.8235 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.611, allocations: 0 / 0.8235 GB, free: 12.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.67e-05/0.6111, allocations: 116 kB / 0.8236 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.6111, allocations: 1.344 kB / 0.8236 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.6113, allocations: 122.5 kB / 0.8237 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/0.6113, allocations: 185.8 kB / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.875e-05/0.6114, allocations: 177.5 kB / 0.8241 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.893e-05/0.6114, allocations: 187.1 kB / 0.8242 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.6119, allocations: 383 kB / 0.8246 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.44e-05/0.6119, allocations: 105.7 kB / 0.8247 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.6119, allocations: 107 kB / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.558e-05/0.612, allocations: 182.4 kB / 0.825 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.6121, allocations: 193 kB / 0.8252 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.024e-05/0.6121, allocations: 178.4 kB / 0.8253 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.957e-05/0.6122, allocations: 182 kB / 0.8255 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.6123, allocations: 317.8 kB / 0.8258 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.6123, allocations: 107.2 kB / 0.8259 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.6124, allocations: 180.2 kB / 0.8261 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.6125, allocations: 110.9 kB / 0.8262 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.6126, allocations: 177 kB / 0.8264 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.6126, allocations: 101.7 kB / 0.8264 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.318e-05/0.6127, allocations: 90.72 kB / 0.8265 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6127, allocations: 0 / 0.8265 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002405/0.6129, allocations: 40.08 kB / 0.8266 GB, free: 9.621 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004894/0.6134, allocations: 0.86 MB / 0.8274 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.852e-05/0.6135, allocations: 6.422 kB / 0.8274 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6135, allocations: 0 / 0.8274 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-06/0.6135, allocations: 6.422 kB / 0.8274 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.6139, allocations: 467.9 kB / 0.8279 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009203/0.6148, allocations: 1.325 MB / 0.8292 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.615, allocations: 0.6782 MB / 0.8298 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.114e-05/0.6151, allocations: 12.58 kB / 0.8298 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.6151, allocations: 8.5 kB / 0.8298 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.6151, allocations: 1.094 kB / 0.8298 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.6346, allocations: 2.241 MB / 0.832 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/7.585, allocations: 9.625 kB / 0.832 GB, free: 5.738 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.661061987979338] Failed to read output from testmodel.py, exit status != 0: 7.663925088942051 7.6761761139999996 7.065516071 Calling exit ...