Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008172/0.0008172, allocations: 80.75 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.0009522/0.0009522, allocations: 181 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.9392/0.9392, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.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-535:34: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-535:42: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.7819/0.7819, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 4 kB / 480.3 MB, free: 6.586 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.724e-05, allocations: 7.406 kB / 480.3 MB, free: 6.582 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004283/0.004301, allocations: 3.848 MB / 484.2 MB, free: 2.777 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001542/0.004455, allocations: 158.1 kB / 484.3 MB, free: 2.625 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.004473, allocations: 1.031 kB / 484.3 MB, free: 2.625 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.004583, allocations: 11.88 kB / 484.3 MB, free: 2.613 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/0.004651, allocations: 12.78 kB / 484.4 MB, free: 2.602 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.004946, allocations: 84.97 kB / 484.4 MB, free: 2.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.005022, allocations: 39.84 kB / 484.5 MB, free: 2.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.00506, allocations: 5.422 kB / 484.5 MB, free: 2.477 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.005108, allocations: 15.98 kB / 484.5 MB, free: 2.461 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.005179, allocations: 11.92 kB / 484.5 MB, free: 2.449 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.005189, allocations: 8.781 kB / 484.5 MB, free: 2.441 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.005663, allocations: 207.7 kB / 484.7 MB, free: 2.242 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.005701, allocations: 11.98 kB / 484.7 MB, free: 2.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.005717, allocations: 4.625 kB / 484.7 MB, free: 2.227 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.005826, allocations: 68.36 kB / 484.8 MB, free: 2.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005828, allocations: 0 / 484.8 MB, free: 2.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005828, allocations: 0.625 kB / 484.8 MB, free: 2.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.005831, allocations: 0 / 484.8 MB, free: 2.16 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.0002584/0.00609, allocations: 237.3 kB / 485 MB, free: 1.906 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.006121, allocations: 12.64 kB / 485.1 MB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.006148, allocations: 8.922 kB / 485.1 MB, free: 1.887 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.064e-05/0.006228, allocations: 103 kB / 485.2 MB, free: 1.762 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/0.00628, allocations: 56.75 kB / 485.2 MB, free: 1.695 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.006293, allocations: 384 / 485.2 MB, free: 1.695 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.006396, allocations: 77.05 kB / 485.3 MB, free: 1.605 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.006404, allocations: 1.906 kB / 485.3 MB, free: 1.605 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.006416, allocations: 15.88 kB / 485.3 MB, free: 1.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.006436, allocations: 0 / 485.3 MB, free: 1.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.006455, allocations: 7.984 kB / 485.3 MB, free: 1.582 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.006717, allocations: 162.3 kB / 485.5 MB, free: 1.406 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.045e-05/0.006747, allocations: 24.11 kB / 485.5 MB, free: 1.375 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.021e-05/0.006757, allocations: 4.859 kB / 485.5 MB, free: 1.367 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.006794, allocations: 8.781 kB / 485.5 MB, free: 1.359 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.006819, allocations: 39.06 kB / 485.6 MB, free: 1.312 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.00682, allocations: 0 / 485.6 MB, free: 1.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 9.526e-05/0.006915, allocations: 40.03 kB / 485.6 MB, free: 1.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.006943, allocations: 51.41 kB / 485.6 MB, free: 1.207 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.442e-05/0.006998, allocations: 107.6 kB / 485.7 MB, free: 1.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.007007, allocations: 25.7 kB / 485.8 MB, free: 1.059 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.007042, allocations: 96.02 kB / 485.9 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-06/0.007046, allocations: 5.578 kB / 485.9 MB, free: 0.957 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.007069, allocations: 13.72 kB / 485.9 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.007137, allocations: 310.8 kB / 486.2 MB, free: 0.625 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-06/0.007143, allocations: 4 kB / 486.2 MB, free: 0.6211 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.033e-05/0.007163, allocations: 23.52 kB / 486.2 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.482e-05/0.007188, allocations: 16.55 kB / 486.2 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.00719, allocations: 0 / 486.2 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.404e-05/0.007234, allocations: 50.38 kB / 486.3 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.007245, allocations: 11.88 kB / 486.3 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007249, allocations: 0.9688 kB / 486.3 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.00726, allocations: 6.953 kB / 486.3 MB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.945e-05/0.00729, allocations: 5.031 kB / 486.3 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.007295, allocations: 4 kB / 486.3 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.007308, allocations: 3.953 kB / 486.3 MB, free: 500 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.007316, allocations: 1.062 kB / 486.3 MB, free: 500 kB / 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.675e-05/0.007373, allocations: 120.6 kB / 486.4 MB, free: 368 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.007386, allocations: 5.031 kB / 486.4 MB, free: 364 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.363e-05/0.00748, allocations: 124.2 kB / 486.6 MB, free: 232 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.62e-05/0.007526, allocations: 181.1 kB / 486.7 MB, free: 44 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.954e-05/0.007586, allocations: 184.2 kB / 486.9 MB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.555e-05/0.007631, allocations: 176.3 kB / 487.1 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.007774, allocations: 319 kB / 487.4 MB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/0.007806, allocations: 108.9 kB / 487.5 MB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.007834, allocations: 105 kB / 487.6 MB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.902e-05/0.007883, allocations: 181 kB / 487.8 MB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.007936, allocations: 180.3 kB / 488 MB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.096e-05/0.007986, allocations: 184.7 kB / 488.1 MB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.081e-05/0.008037, allocations: 180.2 kB / 488.3 MB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.008163, allocations: 312.3 kB / 488.6 MB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.008199, allocations: 102.2 kB / 488.7 MB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.008263, allocations: 188.2 kB / 488.9 MB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.079e-05/0.008354, allocations: 112.9 kB / 489 MB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003801/0.008734, allocations: 181.2 kB / 489.2 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.008756, allocations: 104.9 kB / 489.3 MB, free: 13.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.622e-05/0.008772, allocations: 12.84 kB / 489.3 MB, free: 13.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008773, allocations: 1.406 kB / 489.3 MB, free: 13.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001446/0.008917, allocations: 15.94 kB / 489.3 MB, free: 13.31 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.0001254/0.009043, allocations: 172.5 kB / 489.5 MB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.216e-05/0.009095, allocations: 8.859 kB / 489.5 MB, free: 13.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.009098, allocations: 0.5 kB / 489.5 MB, free: 13.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.009099, allocations: 1.656 kB / 489.5 MB, free: 13.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.009304, allocations: 475.8 kB / 490 MB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.009584, allocations: 191 kB / 490.2 MB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.701e-05/0.009611, allocations: 56.2 kB / 490.2 MB, free: 12.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.287e-05/0.009634, allocations: 5.875 kB / 490.2 MB, free: 12.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.009692, allocations: 63.34 kB / 490.3 MB, free: 12.3 MB / 458.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009693, allocations: 0 / 490.3 MB, free: 12.3 MB / 458.7 MB Notification: Performance of Templates: time 0.002192/0.01188, allocations: 0.7556 MB / 491 MB, free: 11.61 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5875264508649707]