Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.MediaTestModels.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009898/0.0009899, allocations: 100.1 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.00103/0.00103, 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.346/1.346, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.044/0.044, allocations: 9.058 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.0005208/0.0005209, allocations: 16.22 kB / 339.1 MB, free: 26.03 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07628/0.07681, allocations: 49.19 MB / 388.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.2708/0.3477, allocations: 106.6 MB / 494.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.08538/0.4331, allocations: 88.46 MB / 0.5696 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006225/0.4338, allocations: 7.938 kB / 0.5696 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002909/0.4367, allocations: 1.129 MB / 0.5707 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.4399, allocations: 1.293 MB / 0.572 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2774/0.7174, allocations: 22.45 MB / 0.5939 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.719, allocations: 0.7835 MB / 0.5947 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.7193, allocations: 95.73 kB / 0.5948 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01811/0.7374, allocations: 8.948 MB / 0.6035 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.7379, allocations: 269.5 kB / 0.6038 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.7379, allocations: 18.44 kB / 0.6038 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04318/0.7811, allocations: 25.06 MB / 0.6283 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.7814, allocations: 85.59 kB / 0.6283 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.7817, allocations: 145.1 kB / 0.6285 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01485/0.7965, allocations: 6.453 MB / 0.6348 GB, free: 14.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.7966, allocations: 3.188 kB / 0.6348 GB, free: 14.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7966, allocations: 0 / 0.6348 GB, free: 14.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.7966, allocations: 0 / 0.6348 GB, free: 14.7 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005162/0.8018, allocations: 1.998 MB / 0.6367 GB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.8018, allocations: 9.812 kB / 0.6368 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006304/0.8025, allocations: 95.97 kB / 0.6368 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.8028, allocations: 322.4 kB / 0.6372 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.8029, allocations: 32.84 kB / 0.6372 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.8029, allocations: 30.91 kB / 0.6372 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.8041, allocations: 0.6039 MB / 0.6378 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.8041, allocations: 3.906 kB / 0.6378 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.8042, allocations: 14.12 kB / 0.6378 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.8042, allocations: 17.52 kB / 0.6378 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.8054, allocations: 0.5773 MB / 0.6384 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.8077, allocations: 2.553 MB / 0.6409 GB, free: 26.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009941/0.8087, allocations: 0.5106 MB / 0.6414 GB, free: 26.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2411/1.05, allocations: 136.2 MB / 0.7744 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/1.05, allocations: 34.72 kB / 0.7744 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 3.006e-06/1.05, allocations: 4 kB / 0.7744 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.006787/1.057, allocations: 2.71 MB / 0.7771 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/1.057, allocations: 55.41 kB / 0.7771 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/1.057, allocations: 249.5 kB / 0.7774 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/1.057, allocations: 40.44 kB / 0.7774 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/1.057, allocations: 181.5 kB / 0.7776 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/1.057, allocations: 260.5 kB / 0.7778 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/1.058, allocations: 8.812 kB / 0.7778 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.058, allocations: 352.3 kB / 0.7782 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/1.058, allocations: 284.1 kB / 0.7784 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/1.059, allocations: 402 kB / 0.7788 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/1.059, allocations: 330.1 kB / 0.7791 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.059, allocations: 4 kB / 0.7791 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001467/1.061, allocations: 0.8069 MB / 0.7799 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.061, allocations: 12 kB / 0.7799 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.061, allocations: 4 kB / 0.7799 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/1.061, allocations: 69.53 kB / 0.78 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/1.062, allocations: 104.5 kB / 0.7801 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2608/1.322, allocations: 22.55 MB / 0.8021 GB, free: 310.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/1.323, allocations: 53.22 kB / 0.8022 GB, free: 310.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/1.323, allocations: 17.66 kB / 0.8022 GB, free: 310.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003086/1.323, allocations: 193.6 kB / 0.8024 GB, free: 310.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.324, allocations: 45.97 kB / 0.8024 GB, free: 310.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/1.326, allocations: 1.574 MB / 0.804 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/1.326, allocations: 18.88 kB / 0.804 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.326, allocations: 0 / 0.804 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/1.327, allocations: 1.17 MB / 0.8051 GB, free: 310 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/1.329, allocations: 1.606 MB / 0.8067 GB, free: 309.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.329, allocations: 3.062 kB / 0.8067 GB, free: 309.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/1.329, allocations: 92.72 kB / 0.8068 GB, free: 309.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002539/1.33, allocations: 55.83 kB / 0.8068 GB, free: 309.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/1.33, allocations: 4 kB / 0.8068 GB, free: 309.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007914/1.331, allocations: 1.338 MB / 0.8082 GB, free: 308 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.331, allocations: 11.03 kB / 0.8082 GB, free: 308 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/1.332, allocations: 1.217 MB / 0.8094 GB, free: 307.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/1.332, allocations: 142.8 kB / 0.8095 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.094e-05/1.332, allocations: 11.97 kB / 0.8095 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/1.333, allocations: 46.22 kB / 0.8095 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/1.333, allocations: 45.06 kB / 0.8096 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/1.333, allocations: 14.53 kB / 0.8096 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002011/1.333, allocations: 238.1 kB / 0.8098 GB, free: 307.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.333, allocations: 0 / 0.8098 GB, free: 307.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008805/1.342, allocations: 3.18 MB / 0.8129 GB, free: 306.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01578/1.358, allocations: 4.112 MB / 0.8169 GB, free: 306.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001623/1.359, allocations: 0.9589 MB / 0.8179 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.359, allocations: 4.188 kB / 0.8179 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006911/1.36, allocations: 489.5 kB / 0.8184 GB, free: 305.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/1.362, allocations: 324.2 kB / 0.8187 GB, free: 305.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/1.364, allocations: 1.39 MB / 0.82 GB, free: 304.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/1.364, allocations: 0.8608 MB / 0.8209 GB, free: 303.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004339/1.364, allocations: 160.3 kB / 0.821 GB, free: 303.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/1.364, allocations: 41.69 kB / 0.8211 GB, free: 303.7 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/1.364, allocations: 4 kB / 0.8211 GB, free: 303.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1244/1.489, allocations: 116.7 MB / 0.935 GB, free: 187.5 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) Environment - environmentSimulation: