Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007907/0.0007907, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008169/0.0008169, allocations: 168.7 kB / 15.95 MB, free: 204 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.455/1.455, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04481/0.04481, allocations: 9.064 MB / 279.5 MB, free: 12.25 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.0005375/0.0005376, allocations: 12 kB / 339.1 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08422/0.08478, allocations: 49.2 MB / 388.3 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.3378/0.4226, allocations: 119.3 MB / 0.4957 GB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3615/0.7842, allocations: 102.9 MB / 0.5962 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007026/0.7849, allocations: 6.219 kB / 0.5962 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002829/0.7877, allocations: 1.028 MB / 0.5972 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003501/0.7913, allocations: 1.281 MB / 0.5984 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06289/0.8542, allocations: 22.24 MB / 0.6201 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002028/0.8562, allocations: 1.512 MB / 0.6216 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.8564, allocations: 90.77 kB / 0.6217 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01552/0.872, allocations: 8.586 MB / 0.6301 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.8724, allocations: 353.3 kB / 0.6304 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.8725, allocations: 23.88 kB / 0.6304 GB, free: 9.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05304/0.9255, allocations: 26.68 MB / 0.6565 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.9259, allocations: 93.75 kB / 0.6566 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000498/0.9264, allocations: 144.9 kB / 0.6567 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02214/0.9486, allocations: 8.611 MB / 0.6651 GB, free: 6.832 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.9486, allocations: 0 / 0.6651 GB, free: 6.832 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.9486, allocations: 4 kB / 0.6651 GB, free: 6.828 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.9486, allocations: 0 / 0.6651 GB, free: 6.828 MB / 462.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.006741/0.9554, allocations: 2.496 MB / 0.6676 GB, free: 4.383 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.9554, allocations: 12.03 kB / 0.6676 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006657/0.9561, allocations: 85.5 kB / 0.6677 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.9566, allocations: 327.4 kB / 0.668 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.9566, allocations: 30.91 kB / 0.668 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.9567, allocations: 39.36 kB / 0.668 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.958, allocations: 0.616 MB / 0.6686 GB, free: 3.488 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.958, allocations: 4 kB / 0.6687 GB, free: 3.484 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.958, allocations: 14.69 kB / 0.6687 GB, free: 3.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.9581, allocations: 14.83 kB / 0.6687 GB, free: 3.473 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.9593, allocations: 0.5721 MB / 0.6692 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.9619, allocations: 2.509 MB / 0.6717 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.9629, allocations: 0.5005 MB / 0.6722 GB, free: 432 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.9635, allocations: 352.7 kB / 0.6725 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4231/1.387, allocations: 135.8 MB / 0.8051 GB, free: 279.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/1.387, allocations: 43.38 kB / 0.8052 GB, free: 279.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.896e-06/1.387, allocations: 0 / 0.8052 GB, free: 279.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006743/1.393, allocations: 2.401 MB / 0.8075 GB, free: 278.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.394, allocations: 58.45 kB / 0.8076 GB, free: 278.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/1.394, allocations: 253.5 kB / 0.8078 GB, free: 278.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/1.394, allocations: 30.61 kB / 0.8079 GB, free: 278.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/1.394, allocations: 185.4 kB / 0.808 GB, free: 278.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/1.394, allocations: 270.8 kB / 0.8083 GB, free: 278.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/1.394, allocations: 11.25 kB / 0.8083 GB, free: 278.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/1.394, allocations: 354.3 kB / 0.8086 GB, free: 278 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/1.395, allocations: 289.1 kB / 0.8089 GB, free: 278 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/1.395, allocations: 418.9 kB / 0.8093 GB, free: 277.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/1.396, allocations: 334.2 kB / 0.8096 GB, free: 277.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.396, allocations: 1.375 kB / 0.8096 GB, free: 277.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001608/1.398, allocations: 0.8107 MB / 0.8104 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.398, allocations: 9.062 kB / 0.8104 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.398, allocations: 6.656 kB / 0.8104 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/1.398, allocations: 66.58 kB / 0.8105 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/1.399, allocations: 135.8 kB / 0.8106 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08709/1.486, allocations: 25.28 MB / 0.8353 GB, free: 259.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/1.486, allocations: 55.88 kB / 0.8354 GB, free: 259.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/1.486, allocations: 20 kB / 0.8354 GB, free: 259.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 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.000308/1.487, allocations: 185.8 kB / 0.8356 GB, free: 259.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/1.487, allocations: 47.53 kB / 0.8356 GB, free: 259.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/1.489, allocations: 1.604 MB / 0.8372 GB, free: 257.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/1.489, allocations: 15.58 kB / 0.8372 GB, free: 257.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.489, allocations: 0.875 kB / 0.8372 GB, free: 257.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001211/1.49, allocations: 1.2 MB / 0.8384 GB, free: 256.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/1.492, allocations: 1.669 MB / 0.84 GB, free: 254.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/1.492, allocations: 0 / 0.84 GB, free: 254.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/1.492, allocations: 87.88 kB / 0.8401 GB, free: 254.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003123/1.493, allocations: 113.6 kB / 0.8402 GB, free: 254.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/1.493, allocations: 16.95 kB / 0.8402 GB, free: 254.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/1.494, allocations: 1.896 MB / 0.8421 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.494, allocations: 3.938 kB / 0.8421 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/1.495, allocations: 1.292 MB / 0.8433 GB, free: 251.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/1.496, allocations: 139.2 kB / 0.8435 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/1.496, allocations: 8 kB / 0.8435 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/1.496, allocations: 47.88 kB / 0.8435 GB, free: 251 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/1.496, allocations: 47.92 kB / 0.8436 GB, free: 251 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/1.496, allocations: 18.17 kB / 0.8436 GB, free: 251 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002114/1.496, allocations: 243.1 kB / 0.8438 GB, free: 250.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/1.496, allocations: 4 kB / 0.8438 GB, free: 250.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008253/1.505, allocations: 3.185 MB / 0.8469 GB, free: 248 MB / 0.5762 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 (38): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.01716/1.522, allocations: 4.168 MB / 0.851 GB, free: 244.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001962/1.524, allocations: 1.005 MB / 0.852 GB, free: 243.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/1.524, allocations: 0 / 0.852 GB, free: 243.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007094/1.525, allocations: 0.4953 MB / 0.8524 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/1.526, allocations: 320.4 kB / 0.8528 GB, free: 242.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/1.528, allocations: 1.411 MB / 0.8541 GB, free: 241 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/1.528, allocations: 0.8446 MB / 0.855 GB, free: 240.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004416/1.529, allocations: 146 kB / 0.8551 GB, free: 240 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/1.529, allocations: 35.44 kB / 0.8551 GB, free: 239.9 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/1.529, allocations: 0 / 0.8551 GB, free: 239.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.1255/1.655, allocations: 116.7 MB / 0.9691 GB, free: 123.1 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) Environment - environmentSimulation: