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.0009577/0.0009577, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001121/0.001121, allocations: 177.3 kB / 23.36 MB, free: 1.137 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 1.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.03127/0.03127, allocations: 7.52 MB / 267.8 MB, free: 5.863 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 1.413e-06/1.413e-06, allocations: 0 / 285.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.303e-05, allocations: 5.125 kB / 285.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.1129/0.1129, allocations: 16.91 MB / 302.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005957/0.1189, allocations: 10.41 MB / 313.2 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.1189, allocations: 1.625 kB / 313.2 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.1194, allocations: 232.3 kB / 313.4 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.1194, allocations: 36.52 kB / 313.4 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008312/0.1277, allocations: 5.711 MB / 319.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.1278, allocations: 59.67 kB / 319.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.1278, allocations: 0 / 319.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.995e-05/0.1279, allocations: 47.83 kB / 319.3 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.954e-05/0.1279, allocations: 7.938 kB / 319.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.1279, allocations: 4 kB / 319.3 MB, free: 15.73 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: 'RSS_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: 'lambda_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.007171/0.1351, allocations: 6.44 MB / 325.7 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.1351, allocations: 0 / 325.7 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.1352, allocations: 12 kB / 325.7 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003988/0.1391, allocations: 3.608 MB / 329.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1391, allocations: 7.938 kB / 329.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1391, allocations: 0 / 329.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1391, allocations: 0 / 329.3 MB, free: 5.641 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.0007504/0.1399, allocations: 0.6683 MB / 330 MB, free: 4.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.1399, allocations: 12.62 kB / 330 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.14, allocations: 7.922 kB / 330 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.343e-05/0.14, allocations: 109.2 kB / 330.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.14, allocations: 0 / 330.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-06/0.14, allocations: 0 / 330.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.127e-05/0.1401, allocations: 36.53 kB / 330.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.1401, allocations: 4 kB / 330.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.1401, allocations: 0 / 330.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1401, allocations: 0 / 330.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.977e-06/0.1401, allocations: 7.984 kB / 330.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.19e-05/0.1402, allocations: 70.69 kB / 330.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.176e-05/0.1402, allocations: 30.45 kB / 330.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.065e-05/0.1402, allocations: 12.89 kB / 330.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04248/0.1827, allocations: 21.01 MB / 351.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1828, allocations: 30.56 kB / 351.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1828, allocations: 0 / 351.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001117/0.1829, allocations: 53.67 kB / 351.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.1829, allocations: 51.41 kB / 351.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.823e-05/0.1829, allocations: 102.7 kB / 351.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.1829, allocations: 29.86 kB / 351.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.897e-05/0.183, allocations: 84.08 kB / 351.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.183, allocations: 23.8 kB / 351.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.183, allocations: 21.69 kB / 351.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.1831, allocations: 310.8 kB / 352 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-06/0.1831, allocations: 6.828 kB / 352 MB, free: 14.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.1831, allocations: 4 kB / 352 MB, free: 14.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.1831, allocations: 24.2 kB / 352 MB, free: 14.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1831, allocations: 4 kB / 352 MB, free: 14.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 3.914e-05/0.1832, allocations: 41.05 kB / 352.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1832, allocations: 4.062 kB / 352.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1832, allocations: 4 kB / 352.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1832, allocations: 4 kB / 352.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-06/0.1832, allocations: 3.938 kB / 352.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.1832, allocations: 4.531 kB / 352.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.1832, allocations: 3.938 kB / 352.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.1832, allocations: 0 / 352.1 MB, free: 14.71 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 4.807e-05/0.1833, allocations: 113.8 kB / 352.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-06/0.1833, allocations: 0 / 352.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.1834, allocations: 188.7 kB / 352.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.733e-05/0.1834, allocations: 185.6 kB / 352.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.678e-05/0.1834, allocations: 184.3 kB / 352.8 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.473e-05/0.1835, allocations: 180.2 kB / 352.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1836, allocations: 321.4 kB / 353.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/0.1836, allocations: 105 kB / 353.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.1836, allocations: 104.9 kB / 353.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-05/0.1837, allocations: 176.3 kB / 353.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.1837, allocations: 184.3 kB / 353.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-05/0.1838, allocations: 184.2 kB / 354 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-05/0.1838, allocations: 177 kB / 354.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.896e-05/0.1839, allocations: 311.7 kB / 354.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.1839, allocations: 113 kB / 354.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.184, allocations: 184.2 kB / 354.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.184, allocations: 105 kB / 354.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.184, allocations: 184.2 kB / 355 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.1841, allocations: 103 kB / 355.1 MB, free: 11.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.968e-05/0.1841, allocations: 20.84 kB / 355.2 MB, free: 11.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1841, allocations: 0 / 355.2 MB, free: 11.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001066/0.1851, allocations: 0.8683 MB / 356 MB, free: 10.6 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.002071/0.1872, allocations: 1.623 MB / 357.6 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.865e-05/0.1873, allocations: 16.8 kB / 357.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1873, allocations: 0 / 357.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.1873, allocations: 0 / 357.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1875, allocations: 0.492 MB / 358.2 MB, free: 8.473 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.188, allocations: 221.1 kB / 358.4 MB, free: 8.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.539e-05/0.188, allocations: 55.36 kB / 358.4 MB, free: 8.156 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.505e-05/0.188, allocations: 4 kB / 358.4 MB, free: 8.152 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.188, allocations: 63.36 kB / 358.5 MB, free: 8.09 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.188, allocations: 0 / 358.5 MB, free: 8.09 MB / 314.7 MB Notification: Performance of Templates: time 0.0256/0.2136, allocations: 28.38 MB / 386.9 MB, free: 11.77 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.644427523948252]