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.001068/0.001068, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001071/0.001071, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.272/1.272, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04303/0.04303, allocations: 9.094 MB / 278.4 MB, free: 12.4 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.001235/0.001235, allocations: 63.91 kB / 337.3 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08157/0.08281, allocations: 48.16 MB / 385.5 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01693/0.09978, allocations: 17.14 MB / 402.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1015, allocations: 1.916 MB / 404.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.1016, allocations: 0 / 404.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.1022, allocations: 244.1 kB / 404.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.398e-05/0.1022, allocations: 23.84 kB / 404.8 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005758/0.108, allocations: 2.407 MB / 407.2 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.1081, allocations: 47.73 kB / 407.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.1081, allocations: 4 kB / 407.3 MB, free: 3.824 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.789e-05/0.1082, allocations: 19.88 kB / 407.3 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.1083, allocations: 23.91 kB / 407.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.1083, allocations: 0 / 407.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006322/0.1146, allocations: 4.599 MB / 411.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.1146, allocations: 3.938 kB / 411.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.1147, allocations: 15.94 kB / 411.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003641/0.1184, allocations: 1.894 MB / 413.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1184, allocations: 0 / 413.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1184, allocations: 0 / 413.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1184, allocations: 0 / 413.8 MB, free: 13.25 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.0009815/0.1194, allocations: 0.4991 MB / 414.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1194, allocations: 8.031 kB / 414.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.1195, allocations: 7.984 kB / 414.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1196, allocations: 174.8 kB / 414.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1196, allocations: 4 kB / 414.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.1196, allocations: 0 / 414.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1197, allocations: 37.7 kB / 414.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1198, allocations: 0 / 414.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1198, allocations: 0 / 414.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1198, allocations: 3.984 kB / 414.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.585e-05/0.1198, allocations: 16 kB / 414.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.12, allocations: 157.6 kB / 414.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.204e-05/0.1201, allocations: 38.52 kB / 414.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.1201, allocations: 24.88 kB / 414.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1743/0.2944, allocations: 19.35 MB / 434.1 MB, free: 39.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2945, allocations: 36.2 kB / 434.2 MB, free: 39.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.2945, allocations: 2.969 kB / 434.2 MB, free: 39.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002116/0.2947, allocations: 76.92 kB / 434.3 MB, free: 39.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.2947, allocations: 52.16 kB / 434.3 MB, free: 39.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.2948, allocations: 93.97 kB / 434.4 MB, free: 39.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.2948, allocations: 28.89 kB / 434.4 MB, free: 39.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.2948, allocations: 85.5 kB / 434.5 MB, free: 39.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.2949, allocations: 20.66 kB / 434.5 MB, free: 39.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.2949, allocations: 18.66 kB / 434.5 MB, free: 39.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.295, allocations: 316.6 kB / 434.9 MB, free: 39.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.295, allocations: 13.23 kB / 434.9 MB, free: 39.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.295, allocations: 15.12 kB / 434.9 MB, free: 39.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.476e-05/0.2951, allocations: 38.47 kB / 434.9 MB, free: 39.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2951, allocations: 2.75 kB / 434.9 MB, free: 39.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.16e-05/0.2952, allocations: 63 kB / 435 MB, free: 39.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2952, allocations: 5.438 kB / 435 MB, free: 39.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2952, allocations: 0 / 435 MB, free: 39.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2952, allocations: 1.25 kB / 435 MB, free: 39.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.2952, allocations: 0.7969 kB / 435 MB, free: 39.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2952, allocations: 1 kB / 435 MB, free: 39.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.2953, allocations: 4.562 kB / 435 MB, free: 39.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.2953, allocations: 1.547 kB / 435 MB, free: 39.22 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 5.792e-05/0.2953, allocations: 113.6 kB / 435.1 MB, free: 39.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.2954, allocations: 2.75 kB / 435.1 MB, free: 39.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.2955, allocations: 177.4 kB / 435.3 MB, free: 38.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/0.2955, allocations: 185.7 kB / 435.5 MB, free: 38.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.923e-05/0.2956, allocations: 179.1 kB / 435.6 MB, free: 38.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.862e-05/0.2956, allocations: 186 kB / 435.8 MB, free: 38.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.2957, allocations: 414.8 kB / 436.2 MB, free: 37.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.2958, allocations: 106.7 kB / 436.3 MB, free: 37.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.2958, allocations: 103.1 kB / 436.4 MB, free: 37.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.9e-05/0.2958, allocations: 182.2 kB / 436.6 MB, free: 37.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.2959, allocations: 178 kB / 436.8 MB, free: 37.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.86e-05/0.2959, allocations: 182.4 kB / 437 MB, free: 37.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.03e-05/0.2959, allocations: 186.9 kB / 437.1 MB, free: 37.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.788e-05/0.296, allocations: 312.6 kB / 437.5 MB, free: 36.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.2961, allocations: 184 kB / 437.6 MB, free: 36.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.2961, allocations: 183.7 kB / 437.8 MB, free: 36.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.2962, allocations: 102.9 kB / 437.9 MB, free: 36.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.2962, allocations: 177.3 kB / 438.1 MB, free: 36.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.2962, allocations: 106.7 kB / 438.2 MB, free: 35.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.356e-05/0.2963, allocations: 106.5 kB / 438.3 MB, free: 35.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.133e-06/0.2963, allocations: 0 / 438.3 MB, free: 35.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001537/0.2979, allocations: 384.3 kB / 438.7 MB, free: 35.84 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.00224/0.3001, allocations: 0.7168 MB / 439.4 MB, free: 35.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.3003, allocations: 20.03 kB / 439.4 MB, free: 35.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3003, allocations: 4.062 kB / 439.4 MB, free: 35.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.087e-06/0.3003, allocations: 2.078 kB / 439.4 MB, free: 35.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.3009, allocations: 0.5588 MB / 440 MB, free: 35.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.3013, allocations: 220.2 kB / 440.2 MB, free: 34.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.3015, allocations: 0.6801 MB / 440.9 MB, free: 34.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.099e-05/0.3016, allocations: 1.531 kB / 440.9 MB, free: 34.19 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.3016, allocations: 9.688 kB / 440.9 MB, free: 34.18 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3016, allocations: 4 kB / 440.9 MB, free: 34.18 MB / 318.1 MB Notification: Performance of Templates: time 0.01966/0.3213, allocations: 14.13 MB / 455 MB, free: 26.28 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile (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)