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.001348/0.001348, 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.001614/0.001614, allocations: 213.2 kB / 22.25 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.793 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.05619/0.05619, allocations: 9.133 MB / 321.6 MB, free: 10.23 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_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 59.91 kB / 447 MB, free: 116 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.1011, allocations: 54.94 MB / 0.4902 GB, free: 9.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.02007/0.1212, allocations: 15.39 MB / 0.5052 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.1326, allocations: 9.277 MB / 0.5143 GB, free: 320 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.1327, allocations: 0 / 0.5143 GB, free: 320 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.1333, allocations: 231.5 kB / 0.5145 GB, free: 88 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.1334, allocations: 23.84 kB / 0.5145 GB, free: 64 kB / 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.2/0.3334, allocations: 5.946 MB / 0.5203 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.394e-05/0.3335, allocations: 56.72 kB / 0.5204 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.3335, allocations: 0 / 0.5204 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.631e-05/0.3336, allocations: 33.97 kB / 0.5204 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.705e-05/0.3336, allocations: 11.78 kB / 0.5204 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.193e-06/0.3336, allocations: 0 / 0.5204 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.3439, allocations: 6.103 MB / 0.5264 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.344, allocations: 2.172 kB / 0.5264 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.344, allocations: 10.09 kB / 0.5264 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006401/0.3504, allocations: 3.039 MB / 0.5293 GB, free: 7.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3504, allocations: 0 / 0.5293 GB, free: 7.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3504, allocations: 2.562 kB / 0.5293 GB, free: 7.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3504, allocations: 0 / 0.5293 GB, free: 7.332 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.001488/0.3519, allocations: 0.6957 MB / 0.53 GB, free: 6.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3519, allocations: 12.33 kB / 0.53 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.352, allocations: 1.594 kB / 0.53 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.009e-05/0.352, allocations: 103.6 kB / 0.5301 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.352, allocations: 7.938 kB / 0.5301 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3521, allocations: 4.938 kB / 0.5301 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.496e-05/0.3521, allocations: 45.94 kB / 0.5302 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.3521, allocations: 0.5 kB / 0.5302 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.3522, allocations: 0.7656 kB / 0.5302 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3522, allocations: 0.5312 kB / 0.5302 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.7e-05/0.3522, allocations: 14.03 kB / 0.5302 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.3523, allocations: 117.2 kB / 0.5303 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.3523, allocations: 30.44 kB / 0.5303 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/0.3524, allocations: 22.89 kB / 0.5304 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0417/0.3941, allocations: 9.72 MB / 0.5399 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3941, allocations: 34.16 kB / 0.5399 GB, free: 3.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/0.3941, allocations: 0 / 0.5399 GB, free: 3.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001808/0.3943, allocations: 78.44 kB / 0.54 GB, free: 3.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.3943, allocations: 62.97 kB / 0.54 GB, free: 3.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.473e-05/0.3943, allocations: 93.3 kB / 0.5401 GB, free: 3.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.3943, allocations: 26.91 kB / 0.5401 GB, free: 3.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.241e-05/0.3943, allocations: 82.45 kB / 0.5402 GB, free: 3.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.3944, allocations: 25.89 kB / 0.5402 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.3944, allocations: 15.78 kB / 0.5403 GB, free: 3.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.31e-05/0.3944, allocations: 317 kB / 0.5406 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.3944, allocations: 17.7 kB / 0.5406 GB, free: 3.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.3945, allocations: 7.688 kB / 0.5406 GB, free: 3.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.628e-05/0.3945, allocations: 39.22 kB / 0.5406 GB, free: 3.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3945, allocations: 4.906 kB / 0.5406 GB, free: 3.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.17e-05/0.3946, allocations: 61.05 kB / 0.5407 GB, free: 2.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3946, allocations: 9.156 kB / 0.5407 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3946, allocations: 0 / 0.5407 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3946, allocations: 2.219 kB / 0.5407 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.3946, allocations: 1.734 kB / 0.5407 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.3946, allocations: 1.203 kB / 0.5407 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.3946, allocations: 0.875 kB / 0.5407 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3946, allocations: 1.969 kB / 0.5407 GB, free: 2.98 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.124e-05/0.3947, allocations: 111.7 kB / 0.5408 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-06/0.3947, allocations: 10.17 kB / 0.5408 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.39e-05/0.3948, allocations: 174.8 kB / 0.541 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.3948, allocations: 180.2 kB / 0.5412 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/0.3948, allocations: 179.2 kB / 0.5413 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.3948, allocations: 180.2 kB / 0.5415 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.3949, allocations: 369.3 kB / 0.5419 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.3949, allocations: 105.6 kB / 0.542 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.395, allocations: 110.9 kB / 0.5421 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.395, allocations: 179.3 kB / 0.5422 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.395, allocations: 183 kB / 0.5424 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.052e-05/0.395, allocations: 180.9 kB / 0.5426 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.008e-05/0.395, allocations: 181.6 kB / 0.5427 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.062e-05/0.3951, allocations: 319.6 kB / 0.5431 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.3951, allocations: 111.3 kB / 0.5432 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.3951, allocations: 179.3 kB / 0.5433 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.3952, allocations: 109 kB / 0.5434 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.3953, allocations: 181.9 kB / 0.5436 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.3953, allocations: 102.2 kB / 0.5437 GB, free: 15.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.925e-05/0.3954, allocations: 99.11 kB / 0.5438 GB, free: 15.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3954, allocations: 0 / 0.5438 GB, free: 15.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002277/0.3977, allocations: 0.8749 MB / 0.5447 GB, free: 15.5 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.003418/0.4011, allocations: 1.44 MB / 0.5461 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.053e-05/0.4012, allocations: 14.59 kB / 0.5461 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4012, allocations: 0 / 0.5461 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.4012, allocations: 0.7656 kB / 0.5461 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.4018, allocations: 0.4931 MB / 0.5466 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.4021, allocations: 197.8 kB / 0.5467 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.529e-05/0.4021, allocations: 62.23 kB / 0.5468 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.751e-05/0.4021, allocations: 3.391 kB / 0.5468 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.4021, allocations: 10.34 kB / 0.5468 GB, free: 14.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4021, allocations: 0.7656 kB / 0.5468 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.03473/0.4369, allocations: 23.61 MB / 0.5699 GB, free: 8.629 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.881128542125225] Failed to read output from testmodel.py, exit status != 0: 0.4439324885606766 0.45955941899999997 0.105912374 Calling exit ...