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.001097/0.001097, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001196/0.001196, allocations: 173 kB / 23.36 MB, free: 1.133 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.9765/0.9765, allocations: 177.1 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.8101/0.8101, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.382e-06/1.382e-06, allocations: 3.938 kB / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.51e-05, allocations: 2.312 kB / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006162/0.006187, allocations: 3.897 MB / 483.9 MB, free: 3.07 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000234/0.006421, allocations: 157.6 kB / 484.1 MB, free: 2.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.006443, allocations: 1.375 kB / 484.1 MB, free: 2.918 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.006549, allocations: 0 / 484.1 MB, free: 2.918 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.006638, allocations: 19.86 kB / 484.1 MB, free: 2.898 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.006985, allocations: 85.27 kB / 484.2 MB, free: 2.816 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.369e-05/0.007078, allocations: 36.47 kB / 484.2 MB, free: 2.781 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.007117, allocations: 4 kB / 484.2 MB, free: 2.777 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.715e-05/0.007185, allocations: 29.22 kB / 484.2 MB, free: 2.75 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.267e-05/0.007257, allocations: 7.984 kB / 484.2 MB, free: 2.742 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.00727, allocations: 0 / 484.2 MB, free: 2.742 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005815/0.007851, allocations: 208.4 kB / 484.5 MB, free: 2.543 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.007889, allocations: 7.938 kB / 484.5 MB, free: 2.535 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.007908, allocations: 8.797 kB / 484.5 MB, free: 2.527 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.00805, allocations: 67.75 kB / 484.5 MB, free: 2.461 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.008053, allocations: 1.438 kB / 484.5 MB, free: 2.461 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008054, allocations: 4 kB / 484.5 MB, free: 2.457 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.008058, allocations: 0 / 484.5 MB, free: 2.457 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.000298/0.008356, allocations: 234.2 kB / 484.8 MB, free: 2.207 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.00839, allocations: 8.031 kB / 484.8 MB, free: 2.199 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.008426, allocations: 4.938 kB / 484.8 MB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.008513, allocations: 101.8 kB / 484.9 MB, free: 2.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.008583, allocations: 60.75 kB / 484.9 MB, free: 2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.008594, allocations: 4.312 kB / 484.9 MB, free: 1.996 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.008712, allocations: 80 kB / 485 MB, free: 1.902 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.008719, allocations: 5.094 kB / 485 MB, free: 1.898 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.008728, allocations: 3.938 kB / 485 MB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.00875, allocations: 0 / 485 MB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.008775, allocations: 8.938 kB / 485 MB, free: 1.887 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.009089, allocations: 170.3 kB / 485.2 MB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.66e-05/0.009126, allocations: 23.73 kB / 485.2 MB, free: 1.672 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.009138, allocations: 8.922 kB / 485.2 MB, free: 1.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.00919, allocations: 4.531 kB / 485.2 MB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.009221, allocations: 38.5 kB / 485.3 MB, free: 1.609 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.009223, allocations: 5 kB / 485.3 MB, free: 1.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001051/0.009328, allocations: 36.95 kB / 485.3 MB, free: 1.566 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.009355, allocations: 51.41 kB / 485.4 MB, free: 1.504 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.034e-05/0.009425, allocations: 102.7 kB / 485.5 MB, free: 1.391 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.009438, allocations: 29.64 kB / 485.5 MB, free: 1.355 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.009484, allocations: 96.02 kB / 485.6 MB, free: 1.258 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.009489, allocations: 0.5312 kB / 485.6 MB, free: 1.258 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.009522, allocations: 20.06 kB / 485.6 MB, free: 1.234 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.009612, allocations: 310.8 kB / 485.9 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.009625, allocations: 7.984 kB / 485.9 MB, free: 0.9141 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.009646, allocations: 17.7 kB / 485.9 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.009677, allocations: 20.48 kB / 486 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.009679, allocations: 1.688 kB / 486 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.97e-05/0.009749, allocations: 45.62 kB / 486 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.009764, allocations: 7.938 kB / 486 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.009769, allocations: 1.438 kB / 486 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.00978, allocations: 0 / 486 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.426e-05/0.009824, allocations: 11.98 kB / 486 MB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.009827, allocations: 0 / 486 MB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.009847, allocations: 4.703 kB / 486 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.009857, allocations: 4 kB / 486 MB, free: 0.7852 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 6.406e-05/0.009921, allocations: 114.1 kB / 486.1 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.009947, allocations: 7.938 kB / 486.2 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.01006, allocations: 117.7 kB / 486.3 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.594e-05/0.01015, allocations: 182.8 kB / 486.4 MB, free: 356 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.015e-05/0.01019, allocations: 180.2 kB / 486.6 MB, free: 168 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-05/0.01024, allocations: 176.3 kB / 486.8 MB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.01039, allocations: 325.4 kB / 487.1 MB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-05/0.01043, allocations: 106 kB / 487.2 MB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.01047, allocations: 105 kB / 487.3 MB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.136e-05/0.01053, allocations: 182.2 kB / 487.5 MB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.3e-05/0.01059, allocations: 180.3 kB / 487.7 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.894e-05/0.01066, allocations: 192.1 kB / 487.9 MB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-05/0.01072, allocations: 176.3 kB / 488 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.01087, allocations: 307.8 kB / 488.3 MB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.01092, allocations: 110.2 kB / 488.4 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/0.011, allocations: 184.2 kB / 488.6 MB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.01116, allocations: 104.9 kB / 488.7 MB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.01122, allocations: 193.5 kB / 488.9 MB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.01125, allocations: 101.8 kB / 489 MB, free: 13.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.698e-05/0.01127, allocations: 8.859 kB / 489 MB, free: 13.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01127, allocations: 0.5 kB / 489 MB, free: 13.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.01141, allocations: 20.47 kB / 489 MB, free: 13.61 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.0001404/0.01155, allocations: 172.6 kB / 489.2 MB, free: 13.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.469e-05/0.01161, allocations: 21.3 kB / 489.2 MB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.01161, allocations: 4.688 kB / 489.2 MB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.01161, allocations: 0 / 489.2 MB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.01185, allocations: 460.2 kB / 489.7 MB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.01219, allocations: 193.3 kB / 489.9 MB, free: 12.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.155e-05/0.01223, allocations: 63.28 kB / 489.9 MB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.971e-05/0.01226, allocations: 6.656 kB / 489.9 MB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.01232, allocations: 59.36 kB / 490 MB, free: 12.6 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01232, allocations: 0 / 490 MB, free: 12.6 MB / 458.7 MB Notification: Performance of Templates: time 0.002206/0.01452, allocations: 0.7408 MB / 490.7 MB, free: 11.91 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.509959605988115]