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.001318/0.001318, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.001456/0.001456, allocations: 169 kB / 23.02 MB, free: 1.555 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.952/0.952, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.04717/0.04717, allocations: 7.519 MB / 267.5 MB, free: 6.016 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.563e-06/1.563e-06, allocations: 0 / 338.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.045e-06/9.608e-06, allocations: 2.312 kB / 338.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01137/0.01137, allocations: 17.09 MB / 355.7 MB, free: 9.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007621/0.019, allocations: 11.15 MB / 366.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.01903, allocations: 0 / 366.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.01949, allocations: 231.2 kB / 367.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.01953, allocations: 43.75 kB / 367.1 MB, free: 14.41 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.008818/0.02835, allocations: 6.09 MB / 373.2 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.02847, allocations: 87.48 kB / 373.3 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.0285, allocations: 0 / 373.3 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/0.02858, allocations: 51.78 kB / 373.4 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.02861, allocations: 19.92 kB / 373.4 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.02862, allocations: 0 / 373.4 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006426/0.03505, allocations: 6.154 MB / 379.5 MB, free: 1.973 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.03506, allocations: 7.938 kB / 379.5 MB, free: 1.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.0351, allocations: 12 kB / 379.5 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00411/0.03921, allocations: 3.651 MB / 383.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.03922, allocations: 0 / 383.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03922, allocations: 0 / 383.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.03922, allocations: 4 kB / 383.2 MB, free: 14.29 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.001254/0.04048, allocations: 0.8357 MB / 384 MB, free: 13.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.04051, allocations: 8.625 kB / 384 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.04055, allocations: 11.89 kB / 384.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.251e-05/0.04063, allocations: 108 kB / 384.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.04064, allocations: 4 kB / 384.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.04065, allocations: 0 / 384.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.543e-05/0.04074, allocations: 41.69 kB / 384.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.04074, allocations: 0 / 384.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.04075, allocations: 0 / 384.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.04076, allocations: 11.94 kB / 384.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.704e-05/0.04078, allocations: 8 kB / 384.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.04092, allocations: 140.4 kB / 384.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.729e-05/0.04096, allocations: 39 kB / 384.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.04098, allocations: 19.72 kB / 384.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02368/0.06466, allocations: 11.36 MB / 395.8 MB, free: 1.566 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.06469, allocations: 41.39 kB / 395.8 MB, free: 1.516 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.364e-06/0.06469, allocations: 3.984 kB / 395.8 MB, free: 1.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001737/0.06487, allocations: 85.39 kB / 395.9 MB, free: 1.426 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.06489, allocations: 55.34 kB / 396 MB, free: 1.359 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.453e-05/0.06496, allocations: 161.9 kB / 396.1 MB, free: 1.184 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.06497, allocations: 29.69 kB / 396.2 MB, free: 1.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.065, allocations: 126.9 kB / 396.3 MB, free: 1.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.06504, allocations: 39.66 kB / 396.3 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.06507, allocations: 27.36 kB / 396.3 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.06517, allocations: 0.4886 MB / 396.8 MB, free: 456 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.06519, allocations: 15.98 kB / 396.8 MB, free: 440 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.0652, allocations: 16 kB / 396.9 MB, free: 424 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.06525, allocations: 39.69 kB / 396.9 MB, free: 380 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.06525, allocations: 0 / 396.9 MB, free: 380 kB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 6.17e-05/0.06531, allocations: 69.64 kB / 397 MB, free: 304 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.06532, allocations: 7.938 kB / 397 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.06533, allocations: 0 / 397 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.06534, allocations: 0 / 397 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.436e-06/0.06534, allocations: 0 / 397 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.06535, allocations: 3.938 kB / 397 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.06537, allocations: 11.95 kB / 397 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.06538, allocations: 4 kB / 397 MB, free: 276 kB / 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 6.304e-05/0.06544, allocations: 160.6 kB / 397.2 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-06/0.06544, allocations: 4 kB / 397.2 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.06561, allocations: 167.5 kB / 397.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.06562, allocations: 11.88 kB / 397.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.06562, allocations: 0 / 397.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.06562, allocations: 3.938 kB / 397.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.643e-05/0.0657, allocations: 136.5 kB / 397.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.0657, allocations: 0 / 397.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.0657, allocations: 4.031 kB / 397.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.0657, allocations: 0 / 397.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.06571, allocations: 0 / 397.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.06571, allocations: 4 kB / 397.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.06571, allocations: 0 / 397.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.292e-05/0.06577, allocations: 92.34 kB / 397.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.06578, allocations: 7.953 kB / 397.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.06579, allocations: 4 kB / 397.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.018e-05/0.0658, allocations: 0 / 397.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.06581, allocations: 0 / 397.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.06582, allocations: 3.984 kB / 397.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.086e-05/0.06587, allocations: 151.1 kB / 397.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.06587, allocations: 4 kB / 397.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00114/0.06701, allocations: 0.8761 MB / 398.6 MB, free: 14.54 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.002205/0.06921, allocations: 1.477 MB / 400.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.0693, allocations: 35.67 kB / 400.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0693, allocations: 0 / 400.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.06931, allocations: 19.62 kB / 400.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.06956, allocations: 70.56 kB / 400.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.0701, allocations: 181.9 kB / 400.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.872e-05/0.07013, allocations: 55.36 kB / 400.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.044e-05/0.07015, allocations: 4 kB / 400.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/0.07016, allocations: 12.5 kB / 400.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.07016, allocations: 0 / 400.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of Templates: time 0.1205/0.1907, allocations: 30.75 MB / 431.2 MB, free: 69.08 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.8613962288945913]