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.0009715/0.0009715, allocations: 69.11 kB / 20.65 MB, free: 3.848 MB / 18.57 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.000906/0.000906, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9336/0.9336, allocations: 177.1 MB / 204.5 MB, free: 4.988 MB / 186.7 MB " [Timeout remaining time 179] 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.03779/0.03779, allocations: 7.522 MB / 268.6 MB, free: 5.66 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_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 1.302e-06/1.302e-06, allocations: 0 / 339.9 MB, free: 11.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.124e-05, allocations: 5.406 kB / 339.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01344/0.01346, allocations: 16.83 MB / 356.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007277/0.02074, allocations: 10.94 MB / 367.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.0208, allocations: 0 / 367.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.02134, allocations: 231.3 kB / 367.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.0214, allocations: 47.69 kB / 367.9 MB, free: 15.6 MB / 346.7 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.009587/0.03098, allocations: 6.082 MB / 374 MB, free: 9.492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.03109, allocations: 83.48 kB / 374.1 MB, free: 9.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.03113, allocations: 3.984 kB / 374.1 MB, free: 9.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.03121, allocations: 51.78 kB / 374.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.03124, allocations: 19.92 kB / 374.1 MB, free: 9.336 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.03125, allocations: 0 / 374.1 MB, free: 9.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007287/0.03854, allocations: 6.146 MB / 380.3 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.03856, allocations: 7.938 kB / 380.3 MB, free: 3.168 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.0386, allocations: 20 kB / 380.3 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005498/0.0441, allocations: 3.647 MB / 384 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.0441, allocations: 7.844 kB / 384 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.0441, allocations: 0 / 384 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.04411, allocations: 0 / 384 MB, free: 15.48 MB / 362.7 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.001314/0.04542, allocations: 0.8396 MB / 384.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.04545, allocations: 8.031 kB / 384.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.04548, allocations: 11.89 kB / 384.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.472e-05/0.04556, allocations: 104.1 kB / 384.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.04557, allocations: 4 kB / 384.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-06/0.04557, allocations: 0 / 384.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.563e-05/0.04564, allocations: 41.62 kB / 385 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.04565, allocations: 3.938 kB / 385 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.04565, allocations: 4 kB / 385 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.04566, allocations: 0 / 385 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.191e-05/0.04567, allocations: 12 kB / 385 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.04578, allocations: 121.1 kB / 385.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.882e-05/0.04582, allocations: 31.06 kB / 385.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.04584, allocations: 15.72 kB / 385.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02312/0.06896, allocations: 9.211 MB / 394.4 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.06899, allocations: 37.39 kB / 394.4 MB, free: 4.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.276e-06/0.06899, allocations: 0 / 394.4 MB, free: 4.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001947/0.06918, allocations: 85.33 kB / 394.5 MB, free: 4.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.06921, allocations: 51.41 kB / 394.5 MB, free: 4.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.06927, allocations: 157.9 kB / 394.7 MB, free: 4.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.06928, allocations: 25.7 kB / 394.7 MB, free: 4.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.06931, allocations: 126.9 kB / 394.8 MB, free: 4.426 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.06936, allocations: 47.62 kB / 394.9 MB, free: 4.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.06939, allocations: 23.53 kB / 394.9 MB, free: 4.348 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.0695, allocations: 0.5 MB / 395.4 MB, free: 3.836 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.06951, allocations: 8 kB / 395.4 MB, free: 3.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.06952, allocations: 4 kB / 395.4 MB, free: 3.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.02e-05/0.06956, allocations: 43.66 kB / 395.5 MB, free: 3.777 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.06957, allocations: 0 / 395.5 MB, free: 3.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.162e-05/0.06964, allocations: 65.59 kB / 395.5 MB, free: 3.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.06965, allocations: 7.984 kB / 395.5 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.06966, allocations: 4 kB / 395.5 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.06967, allocations: 4 kB / 395.5 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.06967, allocations: 0 / 395.5 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.06968, allocations: 4.062 kB / 395.6 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.06971, allocations: 11.83 kB / 395.6 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.06972, allocations: 0 / 395.6 MB, free: 3.676 MB / 362.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: 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 8.372e-05/0.06981, allocations: 156.6 kB / 395.7 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.06982, allocations: 7.938 kB / 395.7 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.06999, allocations: 171.4 kB / 395.9 MB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.07, allocations: 0 / 395.9 MB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.07, allocations: 4 kB / 395.9 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.07, allocations: 0 / 395.9 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.225e-05/0.07008, allocations: 121.1 kB / 396 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.07008, allocations: 4.031 kB / 396 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/0.07008, allocations: 0 / 396 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.07009, allocations: 0 / 396 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-06/0.07009, allocations: 0 / 396 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.07009, allocations: 0 / 396 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.07009, allocations: 0 / 396 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.846e-05/0.07016, allocations: 92.3 kB / 396.1 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-06/0.07017, allocations: 7.953 kB / 396.1 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.07018, allocations: 0 / 396.1 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.367e-05/0.07019, allocations: 3.984 kB / 396.1 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.0702, allocations: 4 kB / 396.1 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.07021, allocations: 4.031 kB / 396.1 MB, free: 3.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.174e-05/0.07025, allocations: 135.2 kB / 396.3 MB, free: 2.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.07025, allocations: 0 / 396.3 MB, free: 2.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001468/0.07172, allocations: 0.88 MB / 397.1 MB, free: 2 MB / 362.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: 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.002452/0.07417, allocations: 1.523 MB / 398.7 MB, free: 472 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.276e-05/0.07424, allocations: 31.61 kB / 398.7 MB, free: 436 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.07424, allocations: 4 kB / 398.7 MB, free: 432 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.719e-06/0.07425, allocations: 11.69 kB / 398.7 MB, free: 416 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.07453, allocations: 67.59 kB / 398.8 MB, free: 352 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.07501, allocations: 178.1 kB / 398.9 MB, free: 144 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.787e-05/0.07504, allocations: 59.36 kB / 399 MB, free: 64 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.099e-05/0.07506, allocations: 0 / 399 MB, free: 64 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.791e-05/0.07516, allocations: 106.2 kB / 399.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.07516, allocations: 0 / 399.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of Templates: time 0.0283/0.1035, allocations: 29.4 MB / 428.5 MB, free: 2.582 MB / 394.7 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7155192741192877]