Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008329/0.0008329, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008841/0.0008842, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04292/0.04292, allocations: 9.072 MB / 279.5 MB, free: 12.11 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005306/0.0005307, allocations: 16 kB / 339.1 MB, free: 25.95 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07871/0.07925, allocations: 49.2 MB / 388.3 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.0165/0.09579, allocations: 15.61 MB / 403.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.09766, allocations: 1.75 MB / 405.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.09772, allocations: 0 / 405.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006335/0.09837, allocations: 219 kB / 405.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.09842, allocations: 27.83 kB / 405.9 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005585/0.104, allocations: 2.309 MB / 408.2 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.142e-05/0.1041, allocations: 55.67 kB / 408.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.1042, allocations: 0 / 408.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.799e-05/0.1042, allocations: 27.86 kB / 408.3 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.824e-05/0.1043, allocations: 11.94 kB / 408.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.283e-06/0.1043, allocations: 0 / 408.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006016/0.1103, allocations: 4.178 MB / 412.5 MB, free: 464 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.1104, allocations: 3.938 kB / 412.5 MB, free: 460 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.1104, allocations: 37.69 kB / 412.5 MB, free: 416 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.1119, allocations: 1.018 MB / 413.6 MB, free: 15.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1119, allocations: 0 / 413.6 MB, free: 15.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1119, allocations: 4 kB / 413.6 MB, free: 15.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.112, allocations: 0 / 413.6 MB, free: 15.38 MB / 318.1 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.0006531/0.1126, allocations: 0.4915 MB / 414.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1127, allocations: 8.031 kB / 414.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.1127, allocations: 11.89 kB / 414.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1128, allocations: 167 kB / 414.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1128, allocations: 0 / 414.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.1128, allocations: 0 / 414.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.909e-05/0.1129, allocations: 41.7 kB / 414.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1129, allocations: 0 / 414.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.113, allocations: 3.938 kB / 414.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.113, allocations: 3.984 kB / 414.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.113, allocations: 12 kB / 414.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.1132, allocations: 173.5 kB / 414.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.296e-05/0.1132, allocations: 30.52 kB / 414.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.1132, allocations: 28.88 kB / 414.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1917/0.305, allocations: 18.94 MB / 433.5 MB, free: 40.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.3051, allocations: 33 kB / 433.5 MB, free: 40.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.865e-06/0.3051, allocations: 0 / 433.5 MB, free: 40.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002362/0.3053, allocations: 77 kB / 433.6 MB, free: 40.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.3054, allocations: 53.88 kB / 433.6 MB, free: 40.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.3054, allocations: 93.55 kB / 433.7 MB, free: 40.24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.3054, allocations: 26.67 kB / 433.7 MB, free: 40.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.777e-05/0.3055, allocations: 86.94 kB / 433.8 MB, free: 40.13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.3055, allocations: 15.44 kB / 433.8 MB, free: 40.12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-06/0.3055, allocations: 0 / 433.8 MB, free: 40.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.3056, allocations: 319.2 kB / 434.2 MB, free: 39.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.3056, allocations: 9.828 kB / 434.2 MB, free: 39.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.3056, allocations: 15.28 kB / 434.2 MB, free: 39.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.001e-05/0.3057, allocations: 14.7 kB / 434.2 MB, free: 39.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3057, allocations: 0 / 434.2 MB, free: 39.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.312e-05/0.3057, allocations: 60.38 kB / 434.3 MB, free: 39.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3058, allocations: 8.891 kB / 434.3 MB, free: 39.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3058, allocations: 0 / 434.3 MB, free: 39.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3058, allocations: 3.781 kB / 434.3 MB, free: 39.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.434e-06/0.3058, allocations: 1.406 kB / 434.3 MB, free: 39.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3058, allocations: 4.484 kB / 434.3 MB, free: 39.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.3059, allocations: 11.62 kB / 434.3 MB, free: 39.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.3059, allocations: 2.562 kB / 434.3 MB, free: 39.78 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.3059, allocations: 109.2 kB / 434.4 MB, free: 39.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-06/0.3059, allocations: 5.438 kB / 434.4 MB, free: 39.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3061, allocations: 170.6 kB / 434.6 MB, free: 39.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/0.3061, allocations: 181.4 kB / 434.7 MB, free: 39.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.137e-05/0.3061, allocations: 179.8 kB / 434.9 MB, free: 39.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.3062, allocations: 184.4 kB / 435.1 MB, free: 38.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.3063, allocations: 409.4 kB / 435.5 MB, free: 38.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.3064, allocations: 104.5 kB / 435.6 MB, free: 38.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.3064, allocations: 115.1 kB / 435.7 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/0.3064, allocations: 178.5 kB / 435.9 MB, free: 38.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.3064, allocations: 185.2 kB / 436.1 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.647e-05/0.3065, allocations: 182 kB / 436.2 MB, free: 37.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-05/0.3065, allocations: 184.1 kB / 436.4 MB, free: 37.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.916e-05/0.3066, allocations: 307.1 kB / 436.7 MB, free: 37.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.3066, allocations: 194.5 kB / 436.9 MB, free: 37.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.3067, allocations: 182 kB / 437.1 MB, free: 36.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.3068, allocations: 102.9 kB / 437.2 MB, free: 36.76 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.3068, allocations: 192.9 kB / 437.4 MB, free: 36.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3068, allocations: 101.8 kB / 437.5 MB, free: 36.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.18e-05/0.3069, allocations: 97.25 kB / 437.6 MB, free: 36.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3069, allocations: 0 / 437.6 MB, free: 36.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001278/0.3082, allocations: 389.8 kB / 438 MB, free: 36.39 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001742/0.3099, allocations: 0.718 MB / 438.7 MB, free: 36.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.591e-05/0.31, allocations: 22.44 kB / 438.7 MB, free: 36.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.31, allocations: 0 / 438.7 MB, free: 36.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.015e-06/0.31, allocations: 1.188 kB / 438.7 MB, free: 36.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3104, allocations: 0.5287 MB / 439.2 MB, free: 35.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.3107, allocations: 215.3 kB / 439.4 MB, free: 35.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.3108, allocations: 0.6809 MB / 440.1 MB, free: 34.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.591e-05/0.3108, allocations: 2.141 kB / 440.1 MB, free: 34.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.079e-05/0.3108, allocations: 8.656 kB / 440.1 MB, free: 34.77 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3108, allocations: 0.6562 kB / 440.1 MB, free: 34.77 MB / 318.1 MB Notification: Performance of Templates: time 0.01983/0.3307, allocations: 13.75 MB / 453.9 MB, free: 28 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1) Environment - environmentSimulation: