Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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.0008746/0.0008746, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001449/0.001449, allocations: 177 kB / 23.36 MB, free: 1.129 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.9856/0.9856, 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/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.03119/0.03119, allocations: 7.528 MB / 267.8 MB, free: 5.871 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_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 285.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.519e-05, allocations: 5.125 kB / 285.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.112/0.112, allocations: 16.86 MB / 302.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005881/0.1179, allocations: 9.666 MB / 312.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.1179, allocations: 0 / 312.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000503/0.1184, allocations: 229.1 kB / 312.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.814e-05/0.1185, allocations: 22.5 kB / 312.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007371/0.1258, allocations: 5.092 MB / 317.7 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.296e-05/0.1259, allocations: 47.73 kB / 317.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.1259, allocations: 0 / 317.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.126, allocations: 39.78 kB / 317.8 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.618e-05/0.1261, allocations: 8 kB / 317.8 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.824e-06/0.1261, allocations: 0 / 317.8 MB, free: 1.191 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'RSS_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'lambda_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.005605/0.1317, allocations: 5.801 MB / 323.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.1317, allocations: 7.922 kB / 323.6 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.1317, allocations: 8 kB / 323.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.1353, allocations: 3.261 MB / 326.9 MB, free: 8.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1353, allocations: 0 / 326.9 MB, free: 8.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1353, allocations: 4 kB / 326.9 MB, free: 8.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1353, allocations: 0 / 326.9 MB, free: 8.09 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000814/0.1361, allocations: 0.6141 MB / 327.5 MB, free: 7.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.1362, allocations: 12.62 kB / 327.5 MB, free: 7.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.1362, allocations: 4 kB / 327.5 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.941e-05/0.1363, allocations: 109.2 kB / 327.6 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1363, allocations: 0 / 327.6 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.1363, allocations: 7.938 kB / 327.6 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.898e-05/0.1363, allocations: 32.53 kB / 327.7 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1363, allocations: 3.938 kB / 327.7 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-06/0.1363, allocations: 0 / 327.7 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1363, allocations: 4 kB / 327.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.266e-06/0.1363, allocations: 4 kB / 327.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.229e-05/0.1364, allocations: 70.69 kB / 327.8 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.824e-05/0.1365, allocations: 22.61 kB / 327.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.995e-06/0.1365, allocations: 4.859 kB / 327.8 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02308/0.1595, allocations: 10.97 MB / 338.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1596, allocations: 30.56 kB / 338.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.1596, allocations: 0 / 338.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001111/0.1597, allocations: 53.69 kB / 338.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.1597, allocations: 55.34 kB / 338.9 MB, free: 12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.107e-05/0.1598, allocations: 102.7 kB / 339 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.1598, allocations: 29.86 kB / 339 MB, free: 11.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.1598, allocations: 80.14 kB / 339.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1598, allocations: 23.78 kB / 339.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.1598, allocations: 17.7 kB / 339.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003198/0.1602, allocations: 310.8 kB / 339.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.1602, allocations: 6.828 kB / 339.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-06/0.1602, allocations: 4 kB / 339.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.1602, allocations: 36.14 kB / 339.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1602, allocations: 0 / 339.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.164e-05/0.1602, allocations: 38.33 kB / 339.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1603, allocations: 11.94 kB / 339.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1603, allocations: 8.047 kB / 339.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1603, allocations: 0 / 339.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.1603, allocations: 0 / 339.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.1603, allocations: 0 / 339.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.1603, allocations: 0 / 339.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1603, allocations: 0 / 339.5 MB, free: 11.29 MB / 298.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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 4.942e-05/0.1603, allocations: 117.8 kB / 339.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-06/0.1603, allocations: 3.938 kB / 339.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.1605, allocations: 180.7 kB / 339.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.73e-05/0.1605, allocations: 184.2 kB / 340 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.4e-05/0.1605, allocations: 181.6 kB / 340.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/0.1606, allocations: 176.3 kB / 340.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.1607, allocations: 333.4 kB / 340.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/0.1607, allocations: 101 kB / 340.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.1607, allocations: 108.9 kB / 340.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.563e-05/0.1608, allocations: 180.3 kB / 341.1 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.1608, allocations: 180.2 kB / 341.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-05/0.1608, allocations: 180.2 kB / 341.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.61e-05/0.1609, allocations: 180.8 kB / 341.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.05e-05/0.161, allocations: 312 kB / 341.9 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.161, allocations: 117.5 kB / 342 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.161, allocations: 180.8 kB / 342.2 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.1611, allocations: 105 kB / 342.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1611, allocations: 184.2 kB / 342.5 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.1611, allocations: 109.7 kB / 342.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.002e-05/0.1612, allocations: 16.86 kB / 342.6 MB, free: 8.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1612, allocations: 0 / 342.6 MB, free: 8.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001037/0.1622, allocations: 0.7593 MB / 343.4 MB, free: 7.273 MB / 298.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.001996/0.1642, allocations: 1.429 MB / 344.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.136e-05/0.1642, allocations: 12.86 kB / 344.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1642, allocations: 8.062 kB / 344.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.1643, allocations: 0 / 344.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.1645, allocations: 495 kB / 345.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.165, allocations: 229.2 kB / 345.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.906e-05/0.165, allocations: 55.34 kB / 345.6 MB, free: 5.016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.663e-05/0.165, allocations: 0 / 345.6 MB, free: 5.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.1651, allocations: 67.36 kB / 345.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1651, allocations: 0 / 345.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of Templates: time 0.02529/0.1904, allocations: 26.28 MB / 371.9 MB, free: 10.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4472527857869864]