Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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.0009025/0.0009025, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.001348/0.001348, allocations: 173 kB / 23.28 MB, free: 1.219 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.9437/0.9437, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.05082/0.05082, allocations: 7.52 MB / 267.8 MB, free: 5.828 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_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 339.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.752e-05, allocations: 2.312 kB / 339.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01667/0.01669, allocations: 16.68 MB / 355.7 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009165/0.02586, allocations: 9.569 MB / 365.3 MB, free: 396 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.02588, allocations: 0 / 365.3 MB, free: 396 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.02625, allocations: 235.2 kB / 365.5 MB, free: 160 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.305e-05/0.02628, allocations: 27.83 kB / 365.6 MB, free: 132 kB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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:888:13-888: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.007298/0.03358, allocations: 5.326 MB / 370.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.03366, allocations: 55.67 kB / 371 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.03369, allocations: 3.984 kB / 371 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.665e-05/0.03379, allocations: 43.8 kB / 371 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.772e-05/0.03382, allocations: 7.984 kB / 371 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.03383, allocations: 0 / 371 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006749/0.04058, allocations: 5.566 MB / 376.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.04059, allocations: 4 kB / 376.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.04062, allocations: 15.94 kB / 376.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.0448, allocations: 3.261 MB / 379.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.0448, allocations: 3.984 kB / 379.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.04481, allocations: 0 / 379.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.04481, allocations: 0 / 379.9 MB, free: 1.805 MB / 298.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.001003/0.04581, allocations: 0.731 MB / 380.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.04585, allocations: 8.625 kB / 380.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.04587, allocations: 4 kB / 380.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.047e-05/0.04594, allocations: 111.9 kB / 380.7 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.04595, allocations: 4 kB / 380.7 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-06/0.04595, allocations: 3.938 kB / 380.7 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.93e-05/0.04601, allocations: 33.7 kB / 380.8 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.04602, allocations: 0 / 380.8 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-06/0.04603, allocations: 7.922 kB / 380.8 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.04603, allocations: 0 / 380.8 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.177e-06/0.04604, allocations: 4 kB / 380.8 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.04614, allocations: 101.3 kB / 380.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.069e-05/0.04618, allocations: 31.05 kB / 380.9 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.044e-05/0.04619, allocations: 11.72 kB / 380.9 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/0.05687, allocations: 3.318 MB / 384.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.05689, allocations: 45.33 kB / 384.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.05689, allocations: 0 / 384.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001172/0.05701, allocations: 45.7 kB / 384.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.05703, allocations: 55.44 kB / 384.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.0571, allocations: 157.9 kB / 384.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.05711, allocations: 25.7 kB / 384.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.05714, allocations: 126.9 kB / 384.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.05717, allocations: 23.78 kB / 384.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.0572, allocations: 27.36 kB / 384.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.05732, allocations: 496.1 kB / 385.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-06/0.05732, allocations: 4 kB / 385.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.05733, allocations: 4.234 kB / 385.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.05736, allocations: 23.84 kB / 385.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.05736, allocations: 4 kB / 385.2 MB, free: 12.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.744e-05/0.05742, allocations: 53.58 kB / 385.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.05743, allocations: 8 kB / 385.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.05743, allocations: 0 / 385.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.05744, allocations: 0 / 385.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-06/0.05745, allocations: 0 / 385.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.05746, allocations: 4 kB / 385.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.495e-05/0.05747, allocations: 0 / 385.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.05748, allocations: 8 kB / 385.3 MB, free: 12.14 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 6.18e-05/0.05754, allocations: 152.6 kB / 385.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-06/0.05755, allocations: 11.92 kB / 385.5 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.05769, allocations: 254.6 kB / 385.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.854e-05/0.05775, allocations: 264.1 kB / 386 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-05/0.05781, allocations: 268 kB / 386.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.243e-05/0.05787, allocations: 272.1 kB / 386.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.05807, allocations: 484.5 kB / 387 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.391e-05/0.0581, allocations: 148.8 kB / 387.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.05814, allocations: 152.9 kB / 387.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.495e-05/0.0582, allocations: 275.9 kB / 387.5 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.05826, allocations: 264.1 kB / 387.8 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.363e-05/0.05833, allocations: 276 kB / 388.1 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.284e-05/0.05839, allocations: 268.1 kB / 388.3 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.05852, allocations: 447.9 kB / 388.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.05856, allocations: 148.9 kB / 388.9 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.05864, allocations: 272.2 kB / 389.2 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.05871, allocations: 152.9 kB / 389.3 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.05878, allocations: 268.1 kB / 389.6 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.05881, allocations: 148.8 kB / 389.7 MB, free: 7.504 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.262e-05/0.05886, allocations: 139.2 kB / 389.9 MB, free: 7.367 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05886, allocations: 0 / 389.9 MB, free: 7.367 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001211/0.06007, allocations: 0.7555 MB / 390.6 MB, free: 6.609 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.00231/0.06238, allocations: 1.453 MB / 392.1 MB, free: 5.141 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.563e-05/0.06244, allocations: 23.55 kB / 392.1 MB, free: 5.113 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.06244, allocations: 4 kB / 392.1 MB, free: 5.109 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.06244, allocations: 0 / 392.1 MB, free: 5.109 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.06288, allocations: 0.7298 MB / 392.8 MB, free: 4.375 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.06339, allocations: 281.2 kB / 393.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.09e-05/0.06342, allocations: 51.36 kB / 393.2 MB, free: 4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.842e-05/0.06344, allocations: 4 kB / 393.2 MB, free: 3.996 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.06351, allocations: 86.17 kB / 393.3 MB, free: 3.91 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.06351, allocations: 4 kB / 393.3 MB, free: 3.906 MB / 314.7 MB Notification: Performance of Templates: time 0.1103/0.1738, allocations: 26.5 MB / 419.8 MB, free: 78.77 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3622217583470047]