Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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.00196/0.00196, allocations: 92.7 kB / 19.44 MB, free: 324 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.002545/0.002545, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.05353/0.05353, allocations: 7.506 MB / 267.1 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_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.908e-05, allocations: 2.312 kB / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01665/0.01668, allocations: 15.36 MB / 353.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007677/0.02435, allocations: 5.163 MB / 358.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.0244, allocations: 0 / 358.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008/0.0252, allocations: 235.8 kB / 358.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.38e-05/0.02527, allocations: 31.78 kB / 358.7 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01213/0.0374, allocations: 4.286 MB / 363 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.03751, allocations: 55.67 kB / 363 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.03756, allocations: 4 kB / 363 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.03766, allocations: 35.84 kB / 363.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.0377, allocations: 11.94 kB / 363.1 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.03771, allocations: 0 / 363.1 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009657/0.04737, allocations: 4.708 MB / 367.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.04738, allocations: 0 / 367.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.04744, allocations: 11.94 kB / 367.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006684/0.05412, allocations: 2.724 MB / 370.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.05413, allocations: 3.938 kB / 370.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.05413, allocations: 4 kB / 370.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.05413, allocations: 0 / 370.5 MB, free: 10.61 MB / 298.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.00148/0.05561, allocations: 0.5578 MB / 371.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.05567, allocations: 8.625 kB / 371.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.05571, allocations: 3.938 kB / 371.1 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.05584, allocations: 109.2 kB / 371.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.05585, allocations: 0 / 371.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-06/0.05586, allocations: 0 / 371.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.05597, allocations: 45.62 kB / 371.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.05598, allocations: 0 / 371.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.05599, allocations: 0 / 371.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.05599, allocations: 0 / 371.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.343e-05/0.05603, allocations: 19.94 kB / 371.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.05621, allocations: 113.3 kB / 371.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.874e-05/0.05627, allocations: 26.58 kB / 371.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.0563, allocations: 16.88 kB / 371.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01759/0.07389, allocations: 3.028 MB / 374.5 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.07393, allocations: 34.56 kB / 374.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.806e-06/0.07394, allocations: 0 / 374.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002463/0.07418, allocations: 77.88 kB / 374.6 MB, free: 6.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.07424, allocations: 63.36 kB / 374.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.07434, allocations: 97.86 kB / 374.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.07436, allocations: 25.7 kB / 374.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.07441, allocations: 80.14 kB / 374.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.07445, allocations: 19.8 kB / 374.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.0745, allocations: 17.7 kB / 374.9 MB, free: 6.109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.07468, allocations: 314.8 kB / 375.2 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/0.0747, allocations: 11.94 kB / 375.2 MB, free: 5.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.07473, allocations: 19.97 kB / 375.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.617e-05/0.07478, allocations: 32.86 kB / 375.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.07478, allocations: 4.156 kB / 375.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001099/0.07489, allocations: 69.67 kB / 375.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.07491, allocations: 6.188 kB / 375.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.07492, allocations: 3.938 kB / 375.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.07494, allocations: 0 / 375.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.436e-06/0.07494, allocations: 3.984 kB / 375.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.07495, allocations: 3.938 kB / 375.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.07497, allocations: 7.953 kB / 375.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.07498, allocations: 0 / 375.3 MB, free: 5.625 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 9.306e-05/0.07507, allocations: 109.8 kB / 375.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.07509, allocations: 8.031 kB / 375.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.07527, allocations: 171 kB / 375.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/0.07537, allocations: 184.2 kB / 375.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003441/0.07572, allocations: 184.1 kB / 376 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.875e-05/0.07581, allocations: 180.3 kB / 376.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.0761, allocations: 360.8 kB / 376.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.825e-05/0.07616, allocations: 105 kB / 376.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.07621, allocations: 101 kB / 376.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.07632, allocations: 192.2 kB / 376.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.07644, allocations: 176.3 kB / 377.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001011/0.07654, allocations: 188.2 kB / 377.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.687e-05/0.07664, allocations: 184.3 kB / 377.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.07684, allocations: 307.7 kB / 377.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.07691, allocations: 109 kB / 377.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.07703, allocations: 184.2 kB / 378 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.07714, allocations: 105 kB / 378.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.07725, allocations: 180.5 kB / 378.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.07731, allocations: 108.9 kB / 378.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.971e-05/0.07741, allocations: 99.27 kB / 378.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07741, allocations: 4 kB / 378.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001859/0.07927, allocations: 0.6035 MB / 379.1 MB, free: 1.652 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.003575/0.08285, allocations: 1.118 MB / 380.2 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.08295, allocations: 20 kB / 380.2 MB, free: 0.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.08295, allocations: 0 / 380.2 MB, free: 0.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.08296, allocations: 3.984 kB / 380.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.08367, allocations: 484 kB / 380.7 MB, free: 20 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.08404, allocations: 203.6 kB / 380.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.058e-05/0.08411, allocations: 63.28 kB / 381 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.08414, allocations: 7.906 kB / 381 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.08417, allocations: 12.5 kB / 381 MB, free: 15.69 MB / 314.7 MB Notification: Performance of SimCode: time 6.82e-07/0.08417, allocations: 0 / 381 MB, free: 15.69 MB / 314.7 MB Notification: Performance of Templates: time 0.0365/0.1207, allocations: 19.69 MB / 400.7 MB, free: 12.02 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.312276558019221]