Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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.001476/0.001476, 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.001561/0.001561, allocations: 181 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.9762/0.9762, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.03361/0.03361, allocations: 7.521 MB / 267.8 MB, free: 5.887 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_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 285.8 MB, free: 3.863 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.247e-05, allocations: 9.344 kB / 285.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.1248/0.1249, allocations: 16.87 MB / 302.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1266, allocations: 1.834 MB / 304.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.1266, allocations: 1.594 kB / 304.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006468/0.1273, allocations: 242.1 kB / 304.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.1273, allocations: 28.17 kB / 304.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006955/0.1343, allocations: 2.921 MB / 307.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1344, allocations: 61.61 kB / 307.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.489e-05/0.1345, allocations: 1.344 kB / 307.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1346, allocations: 37.16 kB / 307.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.1347, allocations: 15.33 kB / 307.8 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1347, allocations: 0 / 307.8 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005396/0.1401, allocations: 3.246 MB / 311.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.1401, allocations: 3.938 kB / 311.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.1401, allocations: 8.469 kB / 311.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004274/0.1444, allocations: 1.816 MB / 312.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1444, allocations: 0 / 312.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1444, allocations: 0 / 312.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1444, allocations: 3.984 kB / 312.9 MB, free: 5.992 MB / 266.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.000744/0.1452, allocations: 420.6 kB / 313.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1452, allocations: 12.62 kB / 313.3 MB, free: 5.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.1452, allocations: 1.375 kB / 313.3 MB, free: 5.547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.975e-05/0.1453, allocations: 105.2 kB / 313.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1453, allocations: 4 kB / 313.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.1453, allocations: 7.875 kB / 313.4 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.306e-05/0.1454, allocations: 40.52 kB / 313.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1454, allocations: 0 / 313.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.1454, allocations: 0 / 313.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1454, allocations: 0 / 313.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-06/0.1454, allocations: 4 kB / 313.5 MB, free: 5.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.237e-05/0.1455, allocations: 74.62 kB / 313.5 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.932e-05/0.1455, allocations: 18.58 kB / 313.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.08e-05/0.1456, allocations: 17.84 kB / 313.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.1568, allocations: 6.08 MB / 319.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.1569, allocations: 42.44 kB / 319.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.627e-06/0.1569, allocations: 0 / 319.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001524/0.157, allocations: 49.69 kB / 319.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.1571, allocations: 55.44 kB / 319.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.782e-05/0.1571, allocations: 98.72 kB / 319.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.1571, allocations: 25.7 kB / 319.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.1571, allocations: 84.12 kB / 320 MB, free: 14.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.1572, allocations: 27.72 kB / 320 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.1572, allocations: 9.719 kB / 320 MB, free: 14.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.1573, allocations: 318.8 kB / 320.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.1573, allocations: 14.81 kB / 320.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.055e-05/0.1573, allocations: 8.5 kB / 320.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.277e-05/0.1573, allocations: 15.69 kB / 320.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1573, allocations: 4.156 kB / 320.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.147e-05/0.1574, allocations: 45.69 kB / 320.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1574, allocations: 11.92 kB / 320.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1574, allocations: 0.5469 kB / 320.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1574, allocations: 2.188 kB / 320.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-06/0.1574, allocations: 0 / 320.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.1574, allocations: 0 / 320.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1575, allocations: 7.953 kB / 320.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1575, allocations: 0 / 320.5 MB, free: 14.27 MB / 282.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 5.798e-05/0.1575, allocations: 105.8 kB / 320.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.1575, allocations: 11.88 kB / 320.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1576, allocations: 171.7 kB / 320.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.292e-05/0.1577, allocations: 180.3 kB / 320.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.215e-05/0.1577, allocations: 180.2 kB / 321.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.466e-05/0.1578, allocations: 180.3 kB / 321.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1579, allocations: 333.3 kB / 321.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/0.1579, allocations: 101.1 kB / 321.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.158, allocations: 105 kB / 321.8 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.516e-05/0.158, allocations: 185.9 kB / 322 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.1581, allocations: 180.2 kB / 322.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.345e-05/0.1581, allocations: 184.1 kB / 322.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.024e-05/0.1581, allocations: 184.3 kB / 322.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.1582, allocations: 308.4 kB / 322.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.1583, allocations: 112.9 kB / 322.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.1583, allocations: 180.2 kB / 323.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.02e-05/0.1584, allocations: 108.9 kB / 323.2 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1584, allocations: 184.1 kB / 323.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.1585, allocations: 105.7 kB / 323.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.107e-05/0.1585, allocations: 26.62 kB / 323.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1585, allocations: 0 / 323.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008361/0.1593, allocations: 390.8 kB / 323.9 MB, free: 10.64 MB / 282.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.001172/0.1605, allocations: 0.7744 MB / 324.7 MB, free: 9.863 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.619e-05/0.1606, allocations: 20.97 kB / 324.7 MB, free: 9.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1606, allocations: 4 kB / 324.7 MB, free: 9.836 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.1606, allocations: 0 / 324.7 MB, free: 9.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.1609, allocations: 488.7 kB / 325.2 MB, free: 9.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.1613, allocations: 234 kB / 325.4 MB, free: 9.105 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.129e-05/0.1614, allocations: 59.34 kB / 325.5 MB, free: 9.027 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.102e-05/0.1614, allocations: 1.078 kB / 325.5 MB, free: 9.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.1614, allocations: 63.36 kB / 325.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1614, allocations: 0 / 325.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of Templates: time 0.01859/0.18, allocations: 16.94 MB / 342.5 MB, free: 8.137 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2064198688603938]