Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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.001313/0.001313, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001487/0.001487, allocations: 211.5 kB / 22.24 MB, free: 4.855 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.406/1.406, 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.04903/0.04903, allocations: 9.142 MB / 321.6 MB, free: 10.2 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: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002721/0.002721, allocations: 59.89 kB / 446.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.125, allocations: 54.95 MB / 0.4897 GB, free: 9.516 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.0202/0.1452, allocations: 15.38 MB / 0.5047 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.1565, allocations: 9.269 MB / 0.5138 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.1566, allocations: 4 kB / 0.5138 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006899/0.1572, allocations: 227.5 kB / 0.514 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.1573, allocations: 19.84 kB / 0.514 GB, free: 0.5273 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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:1232:13-1232: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.2378/0.3951, allocations: 5.956 MB / 0.5198 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.493e-05/0.3952, allocations: 49.91 kB / 0.5199 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.3953, allocations: 3.438 kB / 0.5199 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3954, allocations: 33.02 kB / 0.5199 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.866e-05/0.3954, allocations: 12.92 kB / 0.5199 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.3954, allocations: 5.406 kB / 0.5199 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.4071, allocations: 6.095 MB / 0.5259 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.4071, allocations: 2.062 kB / 0.5259 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.4072, allocations: 12.75 kB / 0.5259 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00897/0.4161, allocations: 3.04 MB / 0.5289 GB, free: 7.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4161, allocations: 1 kB / 0.5289 GB, free: 7.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4161, allocations: 0 / 0.5289 GB, free: 7.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4161, allocations: 0 / 0.5289 GB, free: 7.492 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.001799/0.4179, allocations: 0.7014 MB / 0.5295 GB, free: 6.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.418, allocations: 9.25 kB / 0.5296 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.418, allocations: 32.59 kB / 0.5296 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.4181, allocations: 1.594 kB / 0.5296 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.161e-05/0.4181, allocations: 113.6 kB / 0.5297 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.4182, allocations: 4.469 kB / 0.5297 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4182, allocations: 3.688 kB / 0.5297 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.4183, allocations: 46.05 kB / 0.5297 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4183, allocations: 0.5 kB / 0.5297 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.4183, allocations: 1.406 kB / 0.5297 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4183, allocations: 4 kB / 0.5298 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.836e-05/0.4183, allocations: 13.39 kB / 0.5298 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.4185, allocations: 142 kB / 0.5299 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/0.4185, allocations: 32.73 kB / 0.5299 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.739e-05/0.4186, allocations: 21.72 kB / 0.53 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04036/0.4589, allocations: 9.717 MB / 0.5394 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.459, allocations: 30.56 kB / 0.5395 GB, free: 3.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 3.737e-06/0.459, allocations: 0.7031 kB / 0.5395 GB, free: 3.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001902/0.4592, allocations: 78.66 kB / 0.5395 GB, free: 3.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.4592, allocations: 51.41 kB / 0.5396 GB, free: 3.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.837e-05/0.4592, allocations: 101.5 kB / 0.5397 GB, free: 3.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.4592, allocations: 25.7 kB / 0.5397 GB, free: 3.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.325e-05/0.4592, allocations: 80.14 kB / 0.5398 GB, free: 3.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.4593, allocations: 25.33 kB / 0.5398 GB, free: 3.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.4593, allocations: 26.58 kB / 0.5398 GB, free: 3.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.4593, allocations: 318 kB / 0.5401 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.4594, allocations: 10.12 kB / 0.5402 GB, free: 3.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.478e-05/0.4594, allocations: 18.55 kB / 0.5402 GB, free: 3.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.4594, allocations: 36.8 kB / 0.5402 GB, free: 3.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4594, allocations: 0 / 0.5402 GB, free: 3.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.888e-05/0.4595, allocations: 61.19 kB / 0.5403 GB, free: 3.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4595, allocations: 5.594 kB / 0.5403 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4595, allocations: 0 / 0.5403 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4595, allocations: 3.984 kB / 0.5403 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.4595, allocations: 4.062 kB / 0.5403 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.4595, allocations: 3 kB / 0.5403 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.4595, allocations: 0 / 0.5403 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.4595, allocations: 3.938 kB / 0.5403 GB, free: 3.227 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 4.848e-05/0.4596, allocations: 113.2 kB / 0.5404 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.4596, allocations: 3.953 kB / 0.5404 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.4597, allocations: 180.7 kB / 0.5406 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/0.4597, allocations: 180.8 kB / 0.5407 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/0.4598, allocations: 176.3 kB / 0.5409 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/0.4598, allocations: 186.7 kB / 0.5411 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.4599, allocations: 385.6 kB / 0.5415 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.4599, allocations: 105.5 kB / 0.5416 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.4599, allocations: 104.6 kB / 0.5417 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-05/0.4599, allocations: 182.9 kB / 0.5418 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.46, allocations: 183.2 kB / 0.542 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.035e-05/0.46, allocations: 177.6 kB / 0.5422 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-05/0.46, allocations: 185.9 kB / 0.5424 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.38e-05/0.4601, allocations: 323.6 kB / 0.5427 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.4601, allocations: 101 kB / 0.5428 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.4601, allocations: 183.5 kB / 0.5429 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.4602, allocations: 104.9 kB / 0.543 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.4602, allocations: 183 kB / 0.5432 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.4602, allocations: 105.1 kB / 0.5433 GB, free: 0 / 382.1 MB Notification: Performance of sorting global known variables: time 9.146e-05/0.4603, allocations: 109.6 kB / 0.5434 GB, free: 15.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4603, allocations: 3.938 kB / 0.5434 GB, free: 15.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002525/0.4628, allocations: 0.8707 MB / 0.5443 GB, free: 15.71 MB / 398.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.003904/0.4667, allocations: 2.069 MB / 0.5463 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.831e-05/0.4668, allocations: 22.2 kB / 0.5463 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4668, allocations: 4.062 kB / 0.5463 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.4668, allocations: 0.6562 kB / 0.5463 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.4674, allocations: 484.4 kB / 0.5468 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.4692, allocations: 1.764 MB / 0.5485 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.303e-05/0.4693, allocations: 67.58 kB / 0.5486 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.4693, allocations: 2.219 kB / 0.5486 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.4694, allocations: 15.77 kB / 0.5486 GB, free: 12.5 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4694, allocations: 0 / 0.5486 GB, free: 12.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06434/0.5337, allocations: 25.66 MB / 0.5736 GB, free: 4.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.26, allocations: 8.062 kB / 0.5736 GB, free: 4.93 MB / 414.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.833984981756657] Failed to read output from testmodel.py, exit status != 0: 12.38115635374561 12.405557076000001 11.984696391 Calling exit ...