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.001092/0.001092, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001174/0.001174, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9081/0.9081, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.769/0.769, allocations: 154.6 MB / 414.9 MB, free: 0.5 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 2.014e-06/2.014e-06, allocations: 0 / 480 MB, free: 6.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/2.022e-05, allocations: 2.312 kB / 480 MB, free: 6.953 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004257/0.004278, allocations: 3.862 MB / 483.8 MB, free: 3.137 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001656/0.004443, allocations: 164.4 kB / 484 MB, free: 2.98 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.004464, allocations: 0 / 484 MB, free: 2.98 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.004567, allocations: 0 / 484 MB, free: 2.98 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/0.00464, allocations: 13.45 kB / 484 MB, free: 2.969 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.004926, allocations: 81.03 kB / 484.1 MB, free: 2.891 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.316e-05/0.004999, allocations: 32.72 kB / 484.1 MB, free: 2.859 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.005034, allocations: 7.938 kB / 484.1 MB, free: 2.852 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.626e-05/0.00509, allocations: 28.97 kB / 484.2 MB, free: 2.824 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/0.005157, allocations: 7.984 kB / 484.2 MB, free: 2.816 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.005168, allocations: 0 / 484.2 MB, free: 2.816 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.005633, allocations: 216.2 kB / 484.4 MB, free: 2.609 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.00567, allocations: 7.984 kB / 484.4 MB, free: 2.602 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.005687, allocations: 8.531 kB / 484.4 MB, free: 2.594 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.005796, allocations: 69.14 kB / 484.5 MB, free: 2.527 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005798, allocations: 0 / 484.5 MB, free: 2.527 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005799, allocations: 0 / 484.5 MB, free: 2.527 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.005802, allocations: 0 / 484.5 MB, free: 2.527 MB / 442.7 MB 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.0002489/0.006051, allocations: 237.5 kB / 484.7 MB, free: 2.273 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.006083, allocations: 12.03 kB / 484.7 MB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.006111, allocations: 5.672 kB / 484.7 MB, free: 2.258 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.812e-05/0.006179, allocations: 105.8 kB / 484.8 MB, free: 2.129 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.006227, allocations: 52.59 kB / 484.9 MB, free: 2.066 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.006239, allocations: 6.25 kB / 484.9 MB, free: 2.062 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/0.006338, allocations: 79.42 kB / 484.9 MB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.006344, allocations: 1.219 kB / 484.9 MB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.006352, allocations: 4.469 kB / 484.9 MB, free: 1.965 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.00637, allocations: 0 / 484.9 MB, free: 1.965 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.006389, allocations: 13.05 kB / 485 MB, free: 1.953 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.006634, allocations: 162.2 kB / 485.1 MB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.488e-05/0.006669, allocations: 27.67 kB / 485.1 MB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.217e-05/0.006681, allocations: 8.797 kB / 485.2 MB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.00673, allocations: 18.94 kB / 485.2 MB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.006755, allocations: 34.5 kB / 485.2 MB, free: 1.672 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.006756, allocations: 0 / 485.2 MB, free: 1.672 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.943e-05/0.006846, allocations: 30.45 kB / 485.2 MB, free: 1.637 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.006872, allocations: 52.97 kB / 485.3 MB, free: 1.574 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.006932, allocations: 110.7 kB / 485.4 MB, free: 1.453 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.006944, allocations: 25.7 kB / 485.4 MB, free: 1.422 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.006985, allocations: 84.09 kB / 485.5 MB, free: 1.336 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/0.006992, allocations: 11.94 kB / 485.5 MB, free: 1.324 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.007018, allocations: 14.48 kB / 485.5 MB, free: 1.305 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.007109, allocations: 318.8 kB / 485.8 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.007119, allocations: 0.5625 kB / 485.8 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.007135, allocations: 18.62 kB / 485.9 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.007167, allocations: 29.06 kB / 485.9 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.007169, allocations: 0.75 kB / 485.9 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.416e-05/0.007223, allocations: 42.12 kB / 485.9 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.007236, allocations: 7.938 kB / 485.9 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.007241, allocations: 4.5 kB / 485.9 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.007252, allocations: 0.9375 kB / 485.9 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.326e-05/0.007285, allocations: 4 kB / 485.9 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.007289, allocations: 0.9375 kB / 485.9 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.007307, allocations: 11.95 kB / 486 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.007314, allocations: 0 / 486 MB, free: 0.8516 MB / 442.7 MB 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.463e-05/0.007369, allocations: 109.9 kB / 486.1 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.007387, allocations: 11.92 kB / 486.1 MB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.234e-05/0.007469, allocations: 118.2 kB / 486.2 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/0.007507, allocations: 177.3 kB / 486.4 MB, free: 428 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.374e-05/0.00755, allocations: 192.1 kB / 486.6 MB, free: 232 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-05/0.007591, allocations: 180.3 kB / 486.7 MB, free: 44 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.007726, allocations: 319.1 kB / 487 MB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/0.007749, allocations: 105 kB / 487.1 MB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.007776, allocations: 109 kB / 487.3 MB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.115e-05/0.007817, allocations: 184.2 kB / 487.4 MB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.007857, allocations: 176.8 kB / 487.6 MB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.386e-05/0.007901, allocations: 180.2 kB / 487.8 MB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.515e-05/0.007946, allocations: 194.5 kB / 488 MB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.78e-05/0.008044, allocations: 303.8 kB / 488.3 MB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.008074, allocations: 109 kB / 488.4 MB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.008123, allocations: 180.2 kB / 488.5 MB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.008204, allocations: 112.9 kB / 488.7 MB, free: 14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.008246, allocations: 176.3 kB / 488.8 MB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.008272, allocations: 110.6 kB / 488.9 MB, free: 13.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.913e-05/0.008291, allocations: 12.84 kB / 489 MB, free: 13.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008291, allocations: 4 kB / 489 MB, free: 13.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.00843, allocations: 15.94 kB / 489 MB, free: 13.68 MB / 458.7 MB 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.0001315/0.008562, allocations: 173.1 kB / 489.1 MB, free: 13.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.878e-05/0.008611, allocations: 12.86 kB / 489.2 MB, free: 13.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.008614, allocations: 1.625 kB / 489.2 MB, free: 13.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.008616, allocations: 3.938 kB / 489.2 MB, free: 13.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.008835, allocations: 467.9 kB / 489.6 MB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.009156, allocations: 187.7 kB / 489.8 MB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.888e-05/0.009185, allocations: 52.02 kB / 489.8 MB, free: 12.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.704e-05/0.009212, allocations: 9.078 kB / 489.9 MB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.009281, allocations: 64.78 kB / 489.9 MB, free: 12.67 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/0.009282, allocations: 0 / 489.9 MB, free: 12.67 MB / 458.7 MB Notification: Performance of Templates: time 0.002223/0.01151, allocations: 0.7346 MB / 490.7 MB, free: 11.98 MB / 458.7 MB " [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.437831646297127]