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.001856/0.001856, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002326/0.002326, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 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.05326/0.05326, allocations: 9.14 MB / 321.6 MB, free: 10.24 MB / 254.1 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 0.002292/0.002292, allocations: 71.89 kB / 447 MB, free: 144 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1103, allocations: 54.94 MB / 0.4902 GB, free: 9.102 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.02118/0.1315, allocations: 15.33 MB / 0.5051 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.1427, allocations: 8.623 MB / 0.5136 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.1427, allocations: 0 / 0.5136 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000656/0.1434, allocations: 219.4 kB / 0.5138 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.1434, allocations: 23.84 kB / 0.5138 GB, free: 0.8203 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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:888:13-888: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.2131/0.3565, allocations: 5.266 MB / 0.5189 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.006e-05/0.3566, allocations: 49.66 kB / 0.519 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.3567, allocations: 6.281 kB / 0.519 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.736e-05/0.3567, allocations: 26.38 kB / 0.519 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.3568, allocations: 14.61 kB / 0.519 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.3568, allocations: 0 / 0.519 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.3671, allocations: 5.515 MB / 0.5244 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.3671, allocations: 5.438 kB / 0.5244 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.3672, allocations: 8 kB / 0.5244 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008617/0.3758, allocations: 2.75 MB / 0.5271 GB, free: 8.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3758, allocations: 0 / 0.5271 GB, free: 8.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3758, allocations: 1.5 kB / 0.5271 GB, free: 8.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.3758, allocations: 0.6562 kB / 0.5271 GB, free: 8.414 MB / 382.1 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.002241/0.378, allocations: 0.6437 MB / 0.5277 GB, free: 7.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3781, allocations: 9.781 kB / 0.5278 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.3781, allocations: 1.906 kB / 0.5278 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.344e-05/0.3782, allocations: 103.6 kB / 0.5279 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3782, allocations: 5.094 kB / 0.5279 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.3782, allocations: 0 / 0.5279 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.3783, allocations: 44.67 kB / 0.5279 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3783, allocations: 6.016 kB / 0.5279 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.3784, allocations: 2.438 kB / 0.5279 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3784, allocations: 3.359 kB / 0.5279 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.3784, allocations: 14.14 kB / 0.5279 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.3785, allocations: 110.3 kB / 0.528 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.704e-05/0.3786, allocations: 32.52 kB / 0.5281 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.3786, allocations: 15.33 kB / 0.5281 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0213/0.3999, allocations: 4.403 MB / 0.5324 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3999, allocations: 35.81 kB / 0.5324 GB, free: 7.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.3999, allocations: 1.531 kB / 0.5324 GB, free: 7.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002087/0.4001, allocations: 72.28 kB / 0.5325 GB, free: 7.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.4002, allocations: 52.66 kB / 0.5325 GB, free: 7.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.4002, allocations: 95.48 kB / 0.5326 GB, free: 6.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.4002, allocations: 25.7 kB / 0.5326 GB, free: 6.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.584e-05/0.4002, allocations: 81.14 kB / 0.5327 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.4003, allocations: 30.31 kB / 0.5328 GB, free: 6.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.4003, allocations: 17.06 kB / 0.5328 GB, free: 6.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.4003, allocations: 323.1 kB / 0.5331 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.4004, allocations: 10.22 kB / 0.5331 GB, free: 6.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.4004, allocations: 17.16 kB / 0.5331 GB, free: 6.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.4004, allocations: 35.03 kB / 0.5331 GB, free: 6.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4004, allocations: 1.094 kB / 0.5331 GB, free: 6.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.145e-05/0.4005, allocations: 69.95 kB / 0.5332 GB, free: 6.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4005, allocations: 5.5 kB / 0.5332 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4005, allocations: 0.7656 kB / 0.5332 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4006, allocations: 0 / 0.5332 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.4006, allocations: 5.469 kB / 0.5332 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4006, allocations: 0 / 0.5332 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.4006, allocations: 2.031 kB / 0.5332 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.4006, allocations: 0 / 0.5332 GB, free: 6.449 MB / 382.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: 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.403e-05/0.4007, allocations: 109.5 kB / 0.5333 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.4007, allocations: 11 kB / 0.5333 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.4008, allocations: 177.5 kB / 0.5335 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/0.4008, allocations: 179.3 kB / 0.5337 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/0.4008, allocations: 186.2 kB / 0.5338 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.689e-05/0.4009, allocations: 181.8 kB / 0.534 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.401, allocations: 368.1 kB / 0.5344 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.401, allocations: 102.2 kB / 0.5345 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/0.401, allocations: 103.5 kB / 0.5346 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-05/0.4011, allocations: 185.5 kB / 0.5347 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.4011, allocations: 178.8 kB / 0.5349 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.463e-05/0.4011, allocations: 182.1 kB / 0.5351 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.838e-05/0.4011, allocations: 184.6 kB / 0.5353 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.356e-05/0.4012, allocations: 306.1 kB / 0.5356 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.4013, allocations: 104.8 kB / 0.5357 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.4013, allocations: 192.1 kB / 0.5358 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.4014, allocations: 103 kB / 0.5359 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.4014, allocations: 190.1 kB / 0.5361 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.4014, allocations: 104.8 kB / 0.5362 GB, free: 3.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.713e-05/0.4014, allocations: 98.95 kB / 0.5363 GB, free: 3.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4014, allocations: 1.438 kB / 0.5363 GB, free: 3.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002525/0.404, allocations: 0.7597 MB / 0.5371 GB, free: 3.004 MB / 382.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: 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.004562/0.4085, allocations: 1.271 MB / 0.5383 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.4086, allocations: 14.61 kB / 0.5383 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4086, allocations: 0 / 0.5383 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.4086, allocations: 0 / 0.5383 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.4091, allocations: 490.7 kB / 0.5388 GB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.4094, allocations: 218.9 kB / 0.539 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.341e-05/0.4094, allocations: 63.11 kB / 0.5391 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.409e-05/0.4094, allocations: 2.562 kB / 0.5391 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.4094, allocations: 11.56 kB / 0.5391 GB, free: 1.781 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4094, allocations: 0.7656 kB / 0.5391 GB, free: 1.781 MB / 382.1 MB Notification: Performance of Templates: time 0.03678/0.4462, allocations: 21.95 MB / 0.5605 GB, free: 1.926 MB / 398.1 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.731605991721153] Failed to read output from testmodel.py, exit status != 0: 0.45422677509486675 0.46940447500000004 0.090281496 Calling exit ...