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.0007796/0.0007796, allocations: 92 kB / 15.36 MB, free: 0.7344 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.004985/0.004985, allocations: 170 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0444/0.0444, allocations: 9.073 MB / 279.8 MB, free: 12.38 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.0007219/0.0007219, allocations: 16.2 kB / 339.7 MB, free: 25.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09668, allocations: 49.19 MB / 388.9 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01688/0.1136, allocations: 16.63 MB / 405.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1157, allocations: 1.901 MB / 407.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.1158, allocations: 0 / 407.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000607/0.1164, allocations: 248.1 kB / 407.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.1164, allocations: 15.91 kB / 407.7 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005785/0.1222, allocations: 2.415 MB / 410.1 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.517e-05/0.1223, allocations: 51.73 kB / 410.2 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.1224, allocations: 8 kB / 410.2 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.1224, allocations: 19.86 kB / 410.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.1225, allocations: 23.86 kB / 410.2 MB, free: 3.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-06/0.1225, allocations: 0 / 410.2 MB, free: 3.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006732/0.1292, allocations: 4.603 MB / 414.8 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.1293, allocations: 3.828 kB / 414.8 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.1293, allocations: 41.64 kB / 414.9 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00329/0.1326, allocations: 1.886 MB / 416.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1326, allocations: 0 / 416.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1326, allocations: 0 / 416.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1327, allocations: 0 / 416.8 MB, free: 12.48 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.0008716/0.1335, allocations: 0.503 MB / 417.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1336, allocations: 12.03 kB / 417.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.1336, allocations: 0 / 417.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1337, allocations: 166.9 kB / 417.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1337, allocations: 4 kB / 417.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.1338, allocations: 0 / 417.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.661e-05/0.1339, allocations: 37.69 kB / 417.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.1339, allocations: 3.938 kB / 417.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.1339, allocations: 4 kB / 417.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1339, allocations: 0 / 417.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.403e-05/0.1339, allocations: 16 kB / 417.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.1341, allocations: 165.6 kB / 417.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.1342, allocations: 34.56 kB / 417.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.1342, allocations: 20.89 kB / 417.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1707/0.3049, allocations: 18.93 MB / 436.7 MB, free: 38.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.305, allocations: 36.28 kB / 436.7 MB, free: 38.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.305, allocations: 2.156 kB / 436.7 MB, free: 38.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002086/0.3052, allocations: 75.06 kB / 436.8 MB, free: 38.74 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.3052, allocations: 52.11 kB / 436.8 MB, free: 38.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.001e-05/0.3053, allocations: 96.88 kB / 436.9 MB, free: 38.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-06/0.3053, allocations: 27.3 kB / 436.9 MB, free: 38.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.396e-05/0.3053, allocations: 81.14 kB / 437 MB, free: 38.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.3054, allocations: 19.98 kB / 437 MB, free: 38.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.3054, allocations: 14.03 kB / 437.1 MB, free: 38.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.13e-05/0.3054, allocations: 322.1 kB / 437.4 MB, free: 38.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.3055, allocations: 12.38 kB / 437.4 MB, free: 38.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.3055, allocations: 11.39 kB / 437.4 MB, free: 38.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.3055, allocations: 37.78 kB / 437.4 MB, free: 38.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3055, allocations: 0 / 437.4 MB, free: 38.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.207e-05/0.3056, allocations: 65.67 kB / 437.5 MB, free: 38.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3057, allocations: 7.5 kB / 437.5 MB, free: 38.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3057, allocations: 2.875 kB / 437.5 MB, free: 38.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3057, allocations: 4.422 kB / 437.5 MB, free: 38.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.3057, allocations: 3.328 kB / 437.5 MB, free: 38.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3057, allocations: 1.031 kB / 437.5 MB, free: 38.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.3057, allocations: 2.109 kB / 437.5 MB, free: 38.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.3057, allocations: 1.594 kB / 437.5 MB, free: 38.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.3058, allocations: 119.3 kB / 437.6 MB, free: 37.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.3058, allocations: 1.094 kB / 437.6 MB, free: 37.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.3059, allocations: 167.5 kB / 437.8 MB, free: 37.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.3059, allocations: 182.7 kB / 438 MB, free: 37.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-05/0.306, allocations: 181.8 kB / 438.2 MB, free: 37.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/0.306, allocations: 186.2 kB / 438.3 MB, free: 37.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.3062, allocations: 416.5 kB / 438.7 MB, free: 36.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.3062, allocations: 106.5 kB / 438.8 MB, free: 36.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.3062, allocations: 103.6 kB / 438.9 MB, free: 36.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-05/0.3062, allocations: 183.4 kB / 439.1 MB, free: 36.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.3063, allocations: 180.1 kB / 439.3 MB, free: 36.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.936e-05/0.3063, allocations: 178.6 kB / 439.5 MB, free: 36.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.149e-05/0.3063, allocations: 186.2 kB / 439.7 MB, free: 35.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.444e-05/0.3064, allocations: 312.7 kB / 440 MB, free: 35.56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.3064, allocations: 187.1 kB / 440.1 MB, free: 35.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.3065, allocations: 183 kB / 440.3 MB, free: 35.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.3065, allocations: 110.8 kB / 440.4 MB, free: 35.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.3066, allocations: 176.9 kB / 440.6 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3066, allocations: 107.8 kB / 440.7 MB, free: 34.78 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.208e-05/0.3067, allocations: 104 kB / 440.8 MB, free: 34.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3067, allocations: 1.125 kB / 440.8 MB, free: 34.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009921/0.3077, allocations: 389.9 kB / 441.2 MB, free: 34.7 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 (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.001949/0.3096, allocations: 0.7143 MB / 441.9 MB, free: 34.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.256e-05/0.3097, allocations: 19.8 kB / 441.9 MB, free: 34.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3097, allocations: 64 / 441.9 MB, free: 34.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.3097, allocations: 8.906 kB / 441.9 MB, free: 34.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.3102, allocations: 0.5525 MB / 442.5 MB, free: 33.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.3104, allocations: 228.1 kB / 442.7 MB, free: 33.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.082e-05/0.3105, allocations: 0.677 MB / 443.4 MB, free: 33.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.655e-05/0.3105, allocations: 0.75 kB / 443.4 MB, free: 33.06 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/0.3106, allocations: 13.78 kB / 443.4 MB, free: 33.05 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3106, allocations: 0 / 443.4 MB, free: 33.05 MB / 318.1 MB Notification: Performance of Templates: time 0.02103/0.3316, allocations: 14.12 MB / 457.5 MB, free: 25.19 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: