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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009626/0.0009627, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.4 MB / 222.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04364/0.04364, allocations: 9.061 MB / 279.4 MB, free: 12.15 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004588, allocations: 12.22 kB / 339.1 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07269/0.07316, allocations: 49.2 MB / 388.3 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.0161/0.08929, allocations: 14.19 MB / 402.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009533/0.09887, allocations: 9.522 MB / 412 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.09895, allocations: 0 / 412 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.09958, allocations: 231.2 kB / 412.2 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.09966, allocations: 39.91 kB / 412.2 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01187/0.1115, allocations: 4.737 MB / 417 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.1117, allocations: 63.89 kB / 417 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.1117, allocations: 0 / 417 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.203e-05/0.1118, allocations: 35.86 kB / 417.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.1119, allocations: 23.91 kB / 417.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.083e-06/0.1119, allocations: 0 / 417.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01605/0.1279, allocations: 7.988 MB / 425.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.128, allocations: 0 / 425.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.1281, allocations: 33.64 kB / 425.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004878/0.133, allocations: 2.047 MB / 427.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.133, allocations: 0 / 427.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.133, allocations: 0 / 427.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.133, allocations: 0 / 427.2 MB, free: 1.777 MB / 318.1 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.001492/0.1345, allocations: 0.7722 MB / 427.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1346, allocations: 8.031 kB / 428 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.1346, allocations: 7.906 kB / 428 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1347, allocations: 163 kB / 428.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1347, allocations: 11.92 kB / 428.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.1347, allocations: 7.938 kB / 428.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1349, allocations: 49.69 kB / 428.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1349, allocations: 0 / 428.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1349, allocations: 3.953 kB / 428.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1349, allocations: 4 kB / 428.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.1349, allocations: 31.98 kB / 428.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.1351, allocations: 177.6 kB / 428.4 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.226e-05/0.1352, allocations: 58.48 kB / 428.5 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2125/0.3477, allocations: 40.72 MB / 469.2 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3478, allocations: 34.53 kB / 469.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.655e-06/0.3478, allocations: 3.656 kB / 469.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003235/0.3482, allocations: 283.1 kB / 469.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.3482, allocations: 60.42 kB / 469.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.382e-05/0.3483, allocations: 94.55 kB / 469.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.3483, allocations: 28.11 kB / 469.7 MB, free: 6.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.738e-05/0.3483, allocations: 80.38 kB / 469.7 MB, free: 5.953 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.3483, allocations: 42 kB / 469.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.3484, allocations: 3.969 kB / 469.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.3484, allocations: 314.8 kB / 470.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.178e-05/0.3484, allocations: 31.14 kB / 470.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.3485, allocations: 23.67 kB / 470.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.3485, allocations: 25.72 kB / 470.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3485, allocations: 0 / 470.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.296e-05/0.3486, allocations: 104.8 kB / 470.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3487, allocations: 12.5 kB / 470.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3487, allocations: 0 / 470.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3487, allocations: 0 / 470.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.3487, allocations: 0 / 470.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3487, allocations: 0 / 470.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.3487, allocations: 5.281 kB / 470.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3488, allocations: 3.75 kB / 470.3 MB, free: 5.496 MB / 318.1 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.phase,state_ps.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.281e-05/0.3489, allocations: 121.1 kB / 470.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.3489, allocations: 11.64 kB / 470.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.3491, allocations: 150.7 kB / 470.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3491, allocations: 4 kB / 470.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.3491, allocations: 1.656 kB / 470.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3491, allocations: 5.547 kB / 470.6 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.3492, allocations: 166.6 kB / 470.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3492, allocations: 1.219 kB / 470.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-06/0.3492, allocations: 3.969 kB / 470.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3492, allocations: 0 / 470.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3492, allocations: 13.25 kB / 470.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3493, allocations: 0 / 470.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3493, allocations: 1.281 kB / 470.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.527e-05/0.3493, allocations: 97.97 kB / 470.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.3494, allocations: 83.69 kB / 470.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3494, allocations: 1.344 kB / 471 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.3494, allocations: 3.953 kB / 471 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.3495, allocations: 3.656 kB / 471 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.3495, allocations: 3.75 kB / 471 MB, free: 4.832 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.678e-05/0.3495, allocations: 99.86 kB / 471.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.71e-07/0.3495, allocations: 0 / 471.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00211/0.3517, allocations: 0.8645 MB / 471.9 MB, free: 4.664 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003541/0.3552, allocations: 1.354 MB / 473.3 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.3554, allocations: 47.23 kB / 473.3 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3554, allocations: 0 / 473.3 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.3554, allocations: 23.02 kB / 473.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.3557, allocations: 29.16 kB / 473.4 MB, free: 4.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.356, allocations: 196.1 kB / 473.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.822e-05/0.3561, allocations: 0.6847 MB / 474.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.077e-05/0.3561, allocations: 3.812 kB / 474.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.3561, allocations: 15.41 kB / 474.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3561, allocations: 0 / 474.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of Templates: time 0.03296/0.3891, allocations: 23.48 MB / 497.7 MB, free: 12.46 MB / 350.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) Environment - environmentSimulation: