Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.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.0009137/0.0009137, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009717/0.0009717, allocations: 173 kB / 23.49 MB, free: 1.055 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.9157/0.9157, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02988/0.02988, allocations: 7.522 MB / 267.8 MB, free: 6.074 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 338.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.277e-05, allocations: 6.312 kB / 338.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01101/0.01102, allocations: 17.08 MB / 355.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007167/0.01819, allocations: 11.14 MB / 366.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.01823, allocations: 4 kB / 366.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004525/0.01868, allocations: 235.2 kB / 367.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.911e-05/0.01872, allocations: 39.75 kB / 367.1 MB, free: 14.75 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.008685/0.0274, allocations: 6.078 MB / 373.2 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.02752, allocations: 91.45 kB / 373.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.02755, allocations: 4 kB / 373.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.02762, allocations: 51.78 kB / 373.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.912e-05/0.02765, allocations: 12 kB / 373.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.02766, allocations: 3.938 kB / 373.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006395/0.03406, allocations: 6.146 MB / 379.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.03407, allocations: 11.94 kB / 379.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.03412, allocations: 12 kB / 379.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003606/0.03772, allocations: 3.647 MB / 383.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.03773, allocations: 3.938 kB / 383.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.03773, allocations: 0 / 383.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.03773, allocations: 0 / 383.2 MB, free: 14.64 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008176/0.03855, allocations: 0.8318 MB / 384 MB, free: 13.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.03859, allocations: 12.62 kB / 384 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.03862, allocations: 7.891 kB / 384 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.521e-05/0.03869, allocations: 112 kB / 384.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.0387, allocations: 0 / 384.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.03871, allocations: 4 kB / 384.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.435e-05/0.0388, allocations: 45.69 kB / 384.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-06/0.0388, allocations: 0 / 384.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.03881, allocations: 0 / 384.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.03882, allocations: 0 / 384.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.831e-05/0.03884, allocations: 15.38 kB / 384.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.03896, allocations: 148.3 kB / 384.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.245e-05/0.039, allocations: 35.06 kB / 384.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.03902, allocations: 15.72 kB / 384.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02447/0.0635, allocations: 11.37 MB / 395.8 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.06352, allocations: 33.39 kB / 395.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.963e-06/0.06352, allocations: 0 / 395.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001919/0.06372, allocations: 85.64 kB / 395.9 MB, free: 1.785 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.06374, allocations: 55.34 kB / 395.9 MB, free: 1.719 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.06381, allocations: 161.9 kB / 396.1 MB, free: 1.543 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.06382, allocations: 25.7 kB / 396.1 MB, free: 1.512 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.06384, allocations: 126.9 kB / 396.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.06388, allocations: 51.78 kB / 396.3 MB, free: 1.332 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.06391, allocations: 27.36 kB / 396.3 MB, free: 1.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.064, allocations: 0.4884 MB / 396.8 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.06402, allocations: 8 kB / 396.8 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.06403, allocations: 15.98 kB / 396.8 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.06408, allocations: 43.69 kB / 396.9 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.06408, allocations: 0 / 396.9 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 6.272e-05/0.06414, allocations: 73.33 kB / 397 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.06416, allocations: 8 kB / 397 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.06416, allocations: 0 / 397 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.06418, allocations: 0 / 397 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.06418, allocations: 4.062 kB / 397 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.06418, allocations: 3.938 kB / 397 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.0642, allocations: 7.891 kB / 397 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.06421, allocations: 4 kB / 397 MB, free: 0.625 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.848e-05/0.06427, allocations: 156.6 kB / 397.1 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-06/0.06427, allocations: 4 kB / 397.1 MB, free: 468 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.06443, allocations: 175.4 kB / 397.3 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.06443, allocations: 3.984 kB / 397.3 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.06443, allocations: 0 / 397.3 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.06444, allocations: 15.91 kB / 397.3 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.382e-05/0.06451, allocations: 132.5 kB / 397.5 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.06451, allocations: 0 / 397.5 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.06451, allocations: 4 kB / 397.5 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.06451, allocations: 0 / 397.5 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.06452, allocations: 0 / 397.5 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.06452, allocations: 0 / 397.5 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.06452, allocations: 0 / 397.5 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.165e-05/0.06459, allocations: 88.38 kB / 397.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.0646, allocations: 7.953 kB / 397.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.06461, allocations: 4 kB / 397.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.062e-05/0.06462, allocations: 4.031 kB / 397.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.06463, allocations: 0 / 397.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.06464, allocations: 0 / 397.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.355e-05/0.06468, allocations: 147 kB / 397.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06468, allocations: 0 / 397.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001303/0.06598, allocations: 0.8839 MB / 398.6 MB, free: 14.9 MB / 330.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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002117/0.0681, allocations: 1.48 MB / 400.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.63e-05/0.06819, allocations: 35.67 kB / 400.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.06819, allocations: 8 kB / 400.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.0682, allocations: 19.67 kB / 400.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.06844, allocations: 56.16 kB / 400.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.06901, allocations: 174 kB / 400.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.887e-05/0.06903, allocations: 59.34 kB / 400.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.799e-05/0.06905, allocations: 0 / 400.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.312e-05/0.06907, allocations: 16.5 kB / 400.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.06907, allocations: 4 kB / 400.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of Templates: time 0.1313/0.2003, allocations: 24.5 MB / 424.9 MB, free: 78.7 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.264196283882484]