Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001316/0.001316, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001718/0.001718, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.124/1.124, allocations: 177.1 MB / 203.7 MB, free: 5.512 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-545:108: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-545:116: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.7999/0.7999, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5207 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.938e-05, allocations: 7.938 kB / 0.5207 GB, free: 1.957 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00499/0.005019, allocations: 3.82 MB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001364/0.005156, allocations: 157.3 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.005179, allocations: 0 / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.881e-05/0.005278, allocations: 3.938 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.052e-05/0.005349, allocations: 15.92 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.005647, allocations: 81.8 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.005718, allocations: 35.84 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.005756, allocations: 4 kB / 0.5248 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.528e-05/0.005812, allocations: 24.41 kB / 0.5248 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.005878, allocations: 12.52 kB / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.005889, allocations: 0 / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.006297, allocations: 216.5 kB / 0.525 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.006329, allocations: 3.984 kB / 0.525 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.006345, allocations: 9.016 kB / 0.525 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.006471, allocations: 67.81 kB / 0.5251 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006474, allocations: 0 / 0.5251 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.006475, allocations: 4.625 kB / 0.5251 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.006479, allocations: 0 / 0.5251 GB, free: 13.53 MB / 0.4948 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.0002794/0.006758, allocations: 357.6 kB / 0.5254 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.006791, allocations: 12.03 kB / 0.5254 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.006818, allocations: 5.281 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.061e-05/0.006879, allocations: 119.8 kB / 0.5255 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.006922, allocations: 51.97 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.006929, allocations: 384 / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.075e-05/0.00702, allocations: 76.66 kB / 0.5257 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-06/0.007024, allocations: 192 / 0.5257 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.007032, allocations: 3.938 kB / 0.5257 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.00705, allocations: 4 kB / 0.5257 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.007069, allocations: 11.92 kB / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.007324, allocations: 239.5 kB / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.544e-05/0.00735, allocations: 27.06 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.578e-06/0.007359, allocations: 7.688 kB / 0.526 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.007395, allocations: 11.44 kB / 0.526 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.007414, allocations: 41.33 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/0.007415, allocations: 0 / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 9.121e-05/0.007506, allocations: 47.06 kB / 0.526 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.007526, allocations: 55.41 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/0.007591, allocations: 161.9 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.0076, allocations: 25.7 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.007644, allocations: 131.3 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-06/0.007651, allocations: 14.72 kB / 0.5264 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.007674, allocations: 19.38 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.007779, allocations: 496.1 kB / 0.5269 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-06/0.007785, allocations: 4 kB / 0.5269 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.007801, allocations: 19.38 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.007827, allocations: 27.31 kB / 0.527 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007829, allocations: 2.438 kB / 0.527 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.839e-05/0.007877, allocations: 49.62 kB / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.007887, allocations: 7.938 kB / 0.527 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.007891, allocations: 0 / 0.527 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.007899, allocations: 0 / 0.527 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.775e-05/0.007927, allocations: 9.469 kB / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.00793, allocations: 0 / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.007946, allocations: 7.922 kB / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.007953, allocations: 4 kB / 0.527 GB, free: 11.31 MB / 0.4948 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 5.967e-05/0.008013, allocations: 153.6 kB / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.008028, allocations: 7.891 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.257e-05/0.00812, allocations: 168.4 kB / 0.5273 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-05/0.008184, allocations: 280 kB / 0.5276 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.518e-05/0.008249, allocations: 264.1 kB / 0.5279 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.587e-05/0.008305, allocations: 269.4 kB / 0.5281 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.008461, allocations: 476.5 kB / 0.5286 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.291e-05/0.008494, allocations: 148.9 kB / 0.5287 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.008526, allocations: 159.4 kB / 0.5289 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.668e-05/0.008583, allocations: 268.1 kB / 0.5291 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.008644, allocations: 276 kB / 0.5294 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.675e-05/0.008701, allocations: 272 kB / 0.5297 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.303e-05/0.008754, allocations: 268 kB / 0.5299 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.008865, allocations: 444 kB / 0.5303 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.008903, allocations: 148.8 kB / 0.5305 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.00897, allocations: 266.3 kB / 0.5307 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.009062, allocations: 168.7 kB / 0.5309 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.009116, allocations: 264.1 kB / 0.5311 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.009147, allocations: 152.9 kB / 0.5313 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.009188, allocations: 127.2 kB / 0.5314 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009188, allocations: 0 / 0.5314 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001497/0.009338, allocations: 17.34 kB / 0.5314 GB, free: 6.641 MB / 0.4948 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.0001377/0.009476, allocations: 238.3 kB / 0.5317 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.607e-05/0.009522, allocations: 12.97 kB / 0.5317 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.009523, allocations: 0 / 0.5317 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.009524, allocations: 0 / 0.5317 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.009828, allocations: 0.7146 MB / 0.5324 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.01014, allocations: 234.8 kB / 0.5326 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.01017, allocations: 52.3 kB / 0.5326 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.0102, allocations: 5.5 kB / 0.5326 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.01026, allocations: 90.17 kB / 0.5327 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of SimCode: time 1.272e-06/0.01026, allocations: 0.9688 kB / 0.5327 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of Templates: time 0.0022/0.01246, allocations: 0.7551 MB / 0.5335 GB, free: 4.531 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.906501387245953]