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.001374/0.001374, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001661/0.001661, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.466/1.466, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.05255/0.05255, allocations: 7.506 MB / 267.1 MB, free: 6.035 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 3.136e-06/3.136e-06, allocations: 4 kB / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.769e-05, allocations: 2.312 kB / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01669/0.01671, allocations: 15.3 MB / 353.2 MB, free: 12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.02881, allocations: 8.638 MB / 361.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.02884, allocations: 0 / 361.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006784/0.02952, allocations: 223.3 kB / 362.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.319e-05/0.02957, allocations: 19.84 kB / 362.1 MB, free: 3.09 MB / 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.01452/0.04408, allocations: 5.346 MB / 367.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.0442, allocations: 43.67 kB / 367.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.04424, allocations: 11.98 kB / 367.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.04439, allocations: 39.78 kB / 367.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.758e-05/0.04442, allocations: 8 kB / 367.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.04443, allocations: 0 / 367.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.05596, allocations: 5.55 MB / 373.1 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.05597, allocations: 0 / 373.1 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.05602, allocations: 8 kB / 373.1 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007388/0.06341, allocations: 3.261 MB / 376.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.06342, allocations: 0 / 376.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.06342, allocations: 0 / 376.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.06342, allocations: 0 / 376.3 MB, free: 4.785 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.001436/0.06486, allocations: 0.6431 MB / 377 MB, free: 4.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.0649, allocations: 16.62 kB / 377 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.06494, allocations: 0 / 377 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.06506, allocations: 105.2 kB / 377.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.06507, allocations: 0 / 377.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.06508, allocations: 3.938 kB / 377.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.06519, allocations: 37.7 kB / 377.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.0652, allocations: 3.938 kB / 377.2 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.06521, allocations: 0 / 377.2 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.06522, allocations: 7.984 kB / 377.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.707e-05/0.06525, allocations: 12 kB / 377.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.06543, allocations: 129.1 kB / 377.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.06571, allocations: 30.58 kB / 377.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.06574, allocations: 12.89 kB / 377.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02452/0.09026, allocations: 4.394 MB / 381.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.09031, allocations: 42.44 kB / 381.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.09031, allocations: 0 / 381.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002561/0.09057, allocations: 77.67 kB / 381.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.09062, allocations: 51.41 kB / 381.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.835e-05/0.09072, allocations: 97.89 kB / 382 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.09073, allocations: 29.7 kB / 382 MB, free: 14.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.09078, allocations: 80.14 kB / 382.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.09082, allocations: 19.78 kB / 382.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.09086, allocations: 21.72 kB / 382.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.09104, allocations: 314.8 kB / 382.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/0.09106, allocations: 11.98 kB / 382.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.09109, allocations: 16 kB / 382.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.388e-05/0.09115, allocations: 45.02 kB / 382.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.09115, allocations: 0 / 382.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001034/0.09126, allocations: 69.8 kB / 382.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.09127, allocations: 8.031 kB / 382.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.09128, allocations: 0 / 382.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.09129, allocations: 0 / 382.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-06/0.0913, allocations: 0 / 382.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.09131, allocations: 0 / 382.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.09133, allocations: 0 / 382.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.09134, allocations: 4 kB / 382.6 MB, free: 14.34 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 9.522e-05/0.09143, allocations: 109.8 kB / 382.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.09145, allocations: 7.984 kB / 382.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.09164, allocations: 171 kB / 382.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/0.09174, allocations: 188.3 kB / 383.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001035/0.09184, allocations: 180.2 kB / 383.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001012/0.09194, allocations: 184.2 kB / 383.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.09222, allocations: 360.8 kB / 383.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.562e-05/0.0923, allocations: 105 kB / 383.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.09236, allocations: 101 kB / 384 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.916e-05/0.09245, allocations: 188.1 kB / 384.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.905e-05/0.09255, allocations: 180.3 kB / 384.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000306/0.09286, allocations: 184.2 kB / 384.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.945e-05/0.09296, allocations: 184.2 kB / 384.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.09317, allocations: 311.9 kB / 385 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.09324, allocations: 105 kB / 385.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.09336, allocations: 196.1 kB / 385.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.09348, allocations: 113 kB / 385.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-05/0.09358, allocations: 176.3 kB / 385.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.09364, allocations: 104.9 kB / 385.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.121e-05/0.09373, allocations: 103.3 kB / 385.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09373, allocations: 0 / 385.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002029/0.09576, allocations: 0.7516 MB / 386.5 MB, free: 10.2 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.003569/0.09932, allocations: 1.37 MB / 387.9 MB, free: 8.816 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.09943, allocations: 15.94 kB / 387.9 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.09943, allocations: 0 / 387.9 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.09944, allocations: 0 / 387.9 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.1001, allocations: 496.7 kB / 388.4 MB, free: 8.312 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.1005, allocations: 203.8 kB / 388.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.844e-05/0.1006, allocations: 59.36 kB / 388.7 MB, free: 8.008 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.884e-05/0.1006, allocations: 0 / 388.7 MB, free: 8.008 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.1006, allocations: 12.5 kB / 388.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1006, allocations: 7.938 kB / 388.7 MB, free: 7.988 MB / 314.7 MB Notification: Performance of Templates: time 0.03712/0.1377, allocations: 22.01 MB / 410.7 MB, free: 1.996 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.273046610993333]