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.001043/0.001043, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001328/0.001328, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 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.9864/0.9864, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.04984/0.04984, allocations: 7.53 MB / 267.8 MB, free: 5.895 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_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 2.895e-06/2.895e-06, allocations: 0 / 285.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.672e-05/3.961e-05, allocations: 4.703 kB / 285.8 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.1717/0.1717, allocations: 16.87 MB / 302.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007479/0.1792, allocations: 10.4 MB / 313.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.1793, allocations: 1.5 kB / 313.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.1799, allocations: 241.7 kB / 313.3 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.18, allocations: 30.2 kB / 313.3 MB, free: 4.727 MB / 266.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.01262/0.1926, allocations: 6.061 MB / 319.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.1927, allocations: 51.67 kB / 319.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.1927, allocations: 4 kB / 319.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1928, allocations: 43.83 kB / 319.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.495e-05/0.1929, allocations: 15.92 kB / 319.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1929, allocations: 0 / 319.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007337/0.2002, allocations: 6.08 MB / 325.6 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.2002, allocations: 3.938 kB / 325.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.2002, allocations: 11.98 kB / 325.6 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005487/0.2057, allocations: 3.604 MB / 329.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2057, allocations: 0 / 329.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2057, allocations: 0 / 329.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.2057, allocations: 4 kB / 329.2 MB, free: 5.797 MB / 282.7 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.001168/0.2069, allocations: 0.6799 MB / 329.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2069, allocations: 8.625 kB / 329.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.207, allocations: 7.938 kB / 329.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.336e-05/0.2071, allocations: 105.2 kB / 330 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2071, allocations: 0 / 330 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2071, allocations: 5.078 kB / 330 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.562e-05/0.2071, allocations: 36.47 kB / 330.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.2072, allocations: 0 / 330.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.2072, allocations: 0 / 330.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2072, allocations: 3.984 kB / 330.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-06/0.2072, allocations: 4 kB / 330.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.465e-05/0.2073, allocations: 67.39 kB / 330.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.463e-05/0.2073, allocations: 22.52 kB / 330.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-06/0.2073, allocations: 12.89 kB / 330.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04178/0.2491, allocations: 21.02 MB / 351.2 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.2491, allocations: 42.5 kB / 351.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.2491, allocations: 4 kB / 351.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.000128/0.2493, allocations: 45.69 kB / 351.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.2493, allocations: 55.41 kB / 351.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.2493, allocations: 98.66 kB / 351.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.2493, allocations: 25.7 kB / 351.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.953e-05/0.2494, allocations: 88.12 kB / 351.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.2494, allocations: 19.78 kB / 351.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.2494, allocations: 13.72 kB / 351.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.2495, allocations: 318.8 kB / 351.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.2495, allocations: 10.83 kB / 351.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.2495, allocations: 8.094 kB / 351.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.035e-05/0.2495, allocations: 26.22 kB / 351.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2495, allocations: 0 / 351.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.227e-05/0.2496, allocations: 46.31 kB / 352 MB, free: 14.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2496, allocations: 4 kB / 352 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2496, allocations: 0 / 352 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2496, allocations: 3.984 kB / 352 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-06/0.2496, allocations: 0 / 352 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.2496, allocations: 0 / 352 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.2496, allocations: 7.938 kB / 352 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.2496, allocations: 0 / 352 MB, free: 14.86 MB / 314.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: 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.081e-05/0.2497, allocations: 109.9 kB / 352.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-06/0.2497, allocations: 4 kB / 352.1 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.2498, allocations: 184.6 kB / 352.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/0.2498, allocations: 176.3 kB / 352.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.913e-05/0.2499, allocations: 184.3 kB / 352.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.865e-05/0.2499, allocations: 188.2 kB / 352.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.2501, allocations: 325.4 kB / 353.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/0.2501, allocations: 104.9 kB / 353.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.2501, allocations: 101.7 kB / 353.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.743e-05/0.2501, allocations: 184.2 kB / 353.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.2502, allocations: 180.3 kB / 353.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-05/0.2502, allocations: 188.2 kB / 353.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.444e-05/0.2503, allocations: 176.3 kB / 354 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.935e-05/0.2503, allocations: 315.7 kB / 354.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.2504, allocations: 105.7 kB / 354.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.2504, allocations: 184.2 kB / 354.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.2505, allocations: 101 kB / 354.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.2505, allocations: 176.3 kB / 354.9 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.2505, allocations: 112.9 kB / 355 MB, free: 11.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.136e-05/0.2506, allocations: 20.84 kB / 355 MB, free: 11.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2506, allocations: 4 kB / 355 MB, free: 11.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001346/0.2519, allocations: 0.8761 MB / 355.9 MB, free: 10.74 MB / 314.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: 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.002379/0.2543, allocations: 1.608 MB / 357.5 MB, free: 9.141 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.166e-05/0.2543, allocations: 28.7 kB / 357.6 MB, free: 9.109 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2543, allocations: 4.062 kB / 357.6 MB, free: 9.105 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.2543, allocations: 4 kB / 357.6 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.2546, allocations: 490.6 kB / 358 MB, free: 8.629 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.255, allocations: 233.1 kB / 358.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.489e-05/0.2551, allocations: 51.36 kB / 358.3 MB, free: 8.305 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.584e-05/0.2551, allocations: 4 kB / 358.3 MB, free: 8.301 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.2551, allocations: 63.36 kB / 358.4 MB, free: 8.238 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.2551, allocations: 0 / 358.4 MB, free: 8.238 MB / 314.7 MB Notification: Performance of Templates: time 0.02973/0.2849, allocations: 28.37 MB / 386.8 MB, free: 11.94 MB / 346.7 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.614981332793832]