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.001284/0.001284, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001448/0.001448, allocations: 177.3 kB / 15.95 MB, free: 216 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.34/1.34, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04403/0.04403, allocations: 9.064 MB / 279.4 MB, free: 12.26 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.0004753/0.0004754, allocations: 12.22 kB / 339.1 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08141/0.0819, allocations: 49.19 MB / 388.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01636/0.09831, allocations: 14.13 MB / 402.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.09999, allocations: 1.598 MB / 404 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.1, allocations: 0 / 404 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.1006, allocations: 239.2 kB / 404.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.1006, allocations: 23.95 kB / 404.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005435/0.1061, allocations: 2.351 MB / 406.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.1062, allocations: 39.94 kB / 406.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.1062, allocations: 0 / 406.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.1063, allocations: 23.92 kB / 406.7 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.1064, allocations: 19.91 kB / 406.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.1064, allocations: 0 / 406.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007529/0.1139, allocations: 4.75 MB / 411.4 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.114, allocations: 0 / 411.4 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.114, allocations: 29.7 kB / 411.5 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.1158, allocations: 0.9983 MB / 412.5 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1159, allocations: 0 / 412.5 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1159, allocations: 0 / 412.5 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1159, allocations: 0 / 412.5 MB, free: 0.5039 MB / 302.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.0008324/0.1167, allocations: 0.503 MB / 413 MB, free: 15.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1168, allocations: 8.031 kB / 413 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.1168, allocations: 7.953 kB / 413 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1169, allocations: 163 kB / 413.2 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.117, allocations: 0 / 413.2 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.117, allocations: 4 kB / 413.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1171, allocations: 41.69 kB / 413.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.1171, allocations: 0 / 413.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1171, allocations: 0 / 413.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1171, allocations: 0 / 413.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.1172, allocations: 12 kB / 413.2 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.1173, allocations: 173.5 kB / 413.4 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.372e-05/0.1174, allocations: 34.5 kB / 413.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1844/0.3018, allocations: 19 MB / 432.4 MB, free: 41.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3018, allocations: 34.81 kB / 432.4 MB, free: 41.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.745e-06/0.3019, allocations: 0 / 432.4 MB, free: 41.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002431/0.3021, allocations: 156.5 kB / 432.6 MB, free: 41.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.3021, allocations: 52.59 kB / 432.6 MB, free: 41.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.3022, allocations: 97.59 kB / 432.7 MB, free: 41.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.3022, allocations: 26.27 kB / 432.8 MB, free: 41.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.709e-05/0.3022, allocations: 83.8 kB / 432.9 MB, free: 41.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.3023, allocations: 18.66 kB / 432.9 MB, free: 41.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-06/0.3023, allocations: 0 / 432.9 MB, free: 41.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.3023, allocations: 318.4 kB / 433.2 MB, free: 40.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.3024, allocations: 12.97 kB / 433.2 MB, free: 40.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.963e-05/0.3024, allocations: 12.25 kB / 433.2 MB, free: 40.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.3024, allocations: 20.3 kB / 433.2 MB, free: 40.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3024, allocations: 0 / 433.2 MB, free: 40.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.665e-05/0.3025, allocations: 61.59 kB / 433.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3025, allocations: 8.547 kB / 433.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3025, allocations: 0 / 433.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3026, allocations: 0.9375 kB / 433.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.3026, allocations: 0 / 433.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.3026, allocations: 7.453 kB / 433.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.3026, allocations: 7.281 kB / 433.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.3026, allocations: 1.672 kB / 433.3 MB, free: 40.7 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.478e-05/0.3027, allocations: 112.8 kB / 433.4 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-06/0.3027, allocations: 5.141 kB / 433.4 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.3028, allocations: 177.3 kB / 433.6 MB, free: 40.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/0.3029, allocations: 177.9 kB / 433.8 MB, free: 40.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-05/0.3029, allocations: 180.5 kB / 433.9 MB, free: 40.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.3029, allocations: 186.8 kB / 434.1 MB, free: 39.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.3031, allocations: 410.3 kB / 434.5 MB, free: 39.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.3031, allocations: 106.9 kB / 434.6 MB, free: 39.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.3031, allocations: 102.2 kB / 434.7 MB, free: 39.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.25e-05/0.3031, allocations: 180.2 kB / 434.9 MB, free: 39.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.3032, allocations: 183.6 kB / 435.1 MB, free: 38.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-05/0.3032, allocations: 186.7 kB / 435.3 MB, free: 38.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.259e-05/0.3032, allocations: 181.9 kB / 435.5 MB, free: 38.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.595e-05/0.3033, allocations: 311.5 kB / 435.8 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.3034, allocations: 190.5 kB / 435.9 MB, free: 37.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.3034, allocations: 185.8 kB / 436.1 MB, free: 37.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/0.3035, allocations: 106.6 kB / 436.2 MB, free: 37.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.3035, allocations: 185.3 kB / 436.4 MB, free: 37.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3035, allocations: 102.7 kB / 436.5 MB, free: 37.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.3036, allocations: 97.77 kB / 436.6 MB, free: 37.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3036, allocations: 4.703 kB / 436.6 MB, free: 37.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001053/0.3046, allocations: 390.3 kB / 437 MB, free: 37.32 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.001592/0.3062, allocations: 0.7182 MB / 437.7 MB, free: 37.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.3063, allocations: 20.27 kB / 437.7 MB, free: 37.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3063, allocations: 0 / 437.7 MB, free: 37.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.3063, allocations: 1.438 kB / 437.7 MB, free: 37.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.3066, allocations: 0.5364 MB / 438.3 MB, free: 36.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.3068, allocations: 219.7 kB / 438.5 MB, free: 36.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.017e-05/0.3069, allocations: 0.6795 MB / 439.2 MB, free: 35.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.336e-05/0.3069, allocations: 0.7031 kB / 439.2 MB, free: 35.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-06/0.3069, allocations: 10 kB / 439.2 MB, free: 35.69 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3069, allocations: 0 / 439.2 MB, free: 35.69 MB / 318.1 MB Notification: Performance of Templates: time 0.01749/0.3244, allocations: 13.74 MB / 452.9 MB, free: 29.16 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: