Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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.001635/0.001635, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00203/0.00203, allocations: 214.2 kB / 22.25 MB, free: 5.082 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 8.047 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.05027/0.05027, allocations: 9.141 MB / 321.6 MB, free: 10.46 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_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 75.89 kB / 447.1 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1054, allocations: 54.94 MB / 0.4902 GB, free: 9.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01979/0.1252, allocations: 17.13 MB / 0.507 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2159/0.3411, allocations: 11.11 MB / 0.5178 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.3412, allocations: 2.219 kB / 0.5178 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.3418, allocations: 288.3 kB / 0.5181 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.3419, allocations: 43.52 kB / 0.5181 GB, free: 7.359 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.01332/0.3552, allocations: 6.129 MB / 0.5241 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.3553, allocations: 82.45 kB / 0.5242 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.3554, allocations: 9.531 kB / 0.5242 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.3555, allocations: 39.41 kB / 0.5243 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.3555, allocations: 24.47 kB / 0.5243 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.914e-06/0.3555, allocations: 0 / 0.5243 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01539/0.3709, allocations: 9.119 MB / 0.5332 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.3709, allocations: 5.094 kB / 0.5332 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.371, allocations: 28.58 kB / 0.5332 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009606/0.3806, allocations: 3.674 MB / 0.5368 GB, free: 5.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3806, allocations: 0 / 0.5368 GB, free: 5.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3807, allocations: 1.094 kB / 0.5368 GB, free: 5.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3807, allocations: 3.984 kB / 0.5368 GB, free: 5.309 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.002159/0.3828, allocations: 0.733 MB / 0.5375 GB, free: 4.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.3829, allocations: 14.2 kB / 0.5375 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.3829, allocations: 12.98 kB / 0.5375 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/0.383, allocations: 112.5 kB / 0.5377 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.383, allocations: 3.938 kB / 0.5377 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.383, allocations: 1.125 kB / 0.5377 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3831, allocations: 63.27 kB / 0.5377 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3832, allocations: 1.438 kB / 0.5377 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3832, allocations: 0 / 0.5377 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3832, allocations: 1.938 kB / 0.5377 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.3832, allocations: 28.23 kB / 0.5378 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.3834, allocations: 162 kB / 0.5379 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.3834, allocations: 43.48 kB / 0.5379 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.3835, allocations: 30.22 kB / 0.538 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04881/0.4323, allocations: 11.87 MB / 0.5496 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.4323, allocations: 30.56 kB / 0.5496 GB, free: 15.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.4323, allocations: 0 / 0.5496 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002677/0.4326, allocations: 137.5 kB / 0.5497 GB, free: 15.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.4326, allocations: 56.72 kB / 0.5498 GB, free: 15.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.4327, allocations: 96.83 kB / 0.5499 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.4327, allocations: 25.86 kB / 0.5499 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.4328, allocations: 88.12 kB / 0.55 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.4328, allocations: 51.62 kB / 0.55 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.4329, allocations: 23.45 kB / 0.5501 GB, free: 15.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.433, allocations: 310.8 kB / 0.5503 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.433, allocations: 28.64 kB / 0.5504 GB, free: 14.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.433, allocations: 20.91 kB / 0.5504 GB, free: 14.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.777e-05/0.4331, allocations: 70.7 kB / 0.5505 GB, free: 14.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4331, allocations: 0 / 0.5505 GB, free: 14.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001317/0.4332, allocations: 116.2 kB / 0.5506 GB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4333, allocations: 8 kB / 0.5506 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4333, allocations: 1.078 kB / 0.5506 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4333, allocations: 3.938 kB / 0.5506 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.4333, allocations: 0 / 0.5506 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4333, allocations: 0 / 0.5506 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.4333, allocations: 3.938 kB / 0.5506 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.4333, allocations: 4 kB / 0.5506 GB, free: 14.64 MB / 398.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: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.789e-05/0.4334, allocations: 109.6 kB / 0.5507 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.4334, allocations: 11.98 kB / 0.5507 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.4336, allocations: 175 kB / 0.5509 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4337, allocations: 0 / 0.5509 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4337, allocations: 1.062 kB / 0.5509 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4337, allocations: 0 / 0.5509 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.4338, allocations: 141.2 kB / 0.551 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4338, allocations: 0 / 0.551 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.4338, allocations: 0 / 0.551 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4338, allocations: 4.031 kB / 0.551 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.4338, allocations: 3.938 kB / 0.551 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4338, allocations: 0.9375 kB / 0.551 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4338, allocations: 4 kB / 0.551 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.4339, allocations: 87.11 kB / 0.5511 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.4339, allocations: 9.297 kB / 0.5511 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.4339, allocations: 11.83 kB / 0.5511 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.434, allocations: 0 / 0.5511 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.434, allocations: 7.969 kB / 0.5511 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.434, allocations: 7.938 kB / 0.5511 GB, free: 13.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.669e-05/0.4341, allocations: 99.27 kB / 0.5512 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4341, allocations: 0 / 0.5512 GB, free: 13.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002436/0.4365, allocations: 0.88 MB / 0.5521 GB, free: 13.01 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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.003582/0.4401, allocations: 1.356 MB / 0.5534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.4402, allocations: 51.92 kB / 0.5535 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4402, allocations: 0 / 0.5535 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.4402, allocations: 23.92 kB / 0.5535 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.4407, allocations: 54.72 kB / 0.5535 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.441, allocations: 162.2 kB / 0.5537 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.4413, allocations: 0.6883 MB / 0.5544 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.781e-05/0.4413, allocations: 4.75 kB / 0.5544 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.4413, allocations: 15.44 kB / 0.5544 GB, free: 10.73 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4413, allocations: 0 / 0.5544 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Templates: time 0.03503/0.4763, allocations: 24.09 MB / 0.5779 GB, free: 2.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.68611879600212] Failed to read output from testmodel.py, exit status != 0: 0.4839226920157671 0.498649058 0.114781169 Calling exit ...