Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001068/0.001068, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008/0.0008, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8481/0.8481, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6965/0.6965, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.657e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003583/0.003609, allocations: 3.223 MB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 8.142e-05/0.003691, allocations: 47.81 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.003715, allocations: 0 / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.003834, allocations: 7.938 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.904e-05/0.003913, allocations: 15.84 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.004451, allocations: 203.1 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.004544, allocations: 27.86 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.004587, allocations: 7.984 kB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.004639, allocations: 19.97 kB / 0.6216 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.004725, allocations: 11.94 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.00474, allocations: 0 / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.00505, allocations: 135.5 kB / 0.6217 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.005124, allocations: 11.97 kB / 0.6217 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.005151, allocations: 7.938 kB / 0.6217 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.005407, allocations: 131.6 kB / 0.6219 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.00541, allocations: 4 kB / 0.6219 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.415e-06/0.005413, allocations: 3.984 kB / 0.6219 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.005419, allocations: 0 / 0.6219 GB, free: 9.781 MB / 0.5886 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.000463/0.005882, allocations: 270.2 kB / 0.6221 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.005933, allocations: 8.031 kB / 0.6221 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.005976, allocations: 30.75 kB / 0.6222 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.006021, allocations: 4.938 kB / 0.6222 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.006567, allocations: 113.7 kB / 0.6223 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.972e-05/0.006657, allocations: 55.95 kB / 0.6223 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.006667, allocations: 4.375 kB / 0.6223 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.006823, allocations: 67.95 kB / 0.6224 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.006835, allocations: 3.938 kB / 0.6224 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.006848, allocations: 3.984 kB / 0.6224 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.006873, allocations: 8 kB / 0.6224 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.372e-05/0.006927, allocations: 15.92 kB / 0.6224 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.007526, allocations: 264 kB / 0.6227 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.007577, allocations: 18.58 kB / 0.6227 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.007592, allocations: 8.797 kB / 0.6227 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.01e-05/0.007662, allocations: 39.97 kB / 0.6227 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.007689, allocations: 34.56 kB / 0.6228 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.007691, allocations: 0 / 0.6228 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001699/0.007861, allocations: 37.64 kB / 0.6228 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.0079, allocations: 59.33 kB / 0.6229 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.007981, allocations: 101.9 kB / 0.623 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.007992, allocations: 25.7 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.00804, allocations: 84.09 kB / 0.6231 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/0.008049, allocations: 7.953 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.008078, allocations: 17.7 kB / 0.6231 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.008161, allocations: 314.8 kB / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.008171, allocations: 4.125 kB / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.168e-05/0.008193, allocations: 21.7 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.008223, allocations: 29.59 kB / 0.6234 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008225, allocations: 0 / 0.6234 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.558e-05/0.008281, allocations: 45.62 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.008294, allocations: 8 kB / 0.6235 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008299, allocations: 0 / 0.6235 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.008311, allocations: 0 / 0.6235 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.292e-05/0.008354, allocations: 4.062 kB / 0.6235 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.00836, allocations: 4 kB / 0.6235 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.008375, allocations: 8 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.008383, allocations: 0 / 0.6235 GB, free: 7.871 MB / 0.5886 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 6.279e-05/0.008446, allocations: 118.8 kB / 0.6236 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.008461, allocations: 3.953 kB / 0.6236 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.754e-05/0.008558, allocations: 121 kB / 0.6237 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.842e-05/0.008607, allocations: 180.2 kB / 0.6239 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.892e-05/0.008655, allocations: 184.2 kB / 0.6241 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.567e-05/0.008701, allocations: 180.2 kB / 0.6243 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.008858, allocations: 380.2 kB / 0.6246 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/0.008885, allocations: 105 kB / 0.6247 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.008913, allocations: 108.9 kB / 0.6248 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-05/0.008961, allocations: 176.5 kB / 0.625 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.009023, allocations: 184.2 kB / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.678e-05/0.00908, allocations: 180.3 kB / 0.6253 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.402e-05/0.009134, allocations: 188.2 kB / 0.6255 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.009247, allocations: 307.8 kB / 0.6258 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.009281, allocations: 108.9 kB / 0.6259 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-05/0.009342, allocations: 180.2 kB / 0.6261 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.009451, allocations: 116.9 kB / 0.6262 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.009501, allocations: 184.2 kB / 0.6264 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.009526, allocations: 104.9 kB / 0.6265 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.009561, allocations: 83.27 kB / 0.6266 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009561, allocations: 0 / 0.6266 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002035/0.009764, allocations: 39.81 kB / 0.6266 GB, free: 4.516 MB / 0.5886 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.0004689/0.01023, allocations: 0.8697 MB / 0.6274 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.92e-05/0.01032, allocations: 8 kB / 0.6275 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.01033, allocations: 0 / 0.6275 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.01033, allocations: 3.938 kB / 0.6275 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.01069, allocations: 463.7 kB / 0.6279 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.01172, allocations: 1.336 MB / 0.6292 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.429e-05/0.01177, allocations: 59.34 kB / 0.6293 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.036e-05/0.01181, allocations: 4 kB / 0.6293 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.01185, allocations: 12.5 kB / 0.6293 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of SimCode: time 9.32e-07/0.01185, allocations: 0 / 0.6293 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.03054, allocations: 2.84 MB / 0.6321 GB, free: 15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.049, allocations: 2.25 kB / 0.6321 GB, free: 15 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.666775269433856] Failed to read output from testmodel.py, exit status != 0: 7.125071813352406 7.13309624 7.126010989 Calling exit ...