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.001358/0.001357, 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.001499/0.0015, 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.58/1.58, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04377/0.04377, allocations: 9.066 MB / 279.4 MB, free: 12.27 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.000605/0.0006054, allocations: 16.22 kB / 339.1 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09633, allocations: 49.19 MB / 388.3 MB, free: 8.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.2939/0.3902, allocations: 106 MB / 494.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.09342/0.4837, allocations: 87.55 MB / 0.5682 GB, free: 5.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006886/0.4845, allocations: 7.938 kB / 0.5682 GB, free: 5.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003467/0.4879, allocations: 1.09 MB / 0.5693 GB, free: 4.406 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004266/0.4922, allocations: 1.254 MB / 0.5705 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3316/0.8239, allocations: 22.28 MB / 0.5923 GB, free: 17.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.8256, allocations: 0.7563 MB / 0.593 GB, free: 17.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.8259, allocations: 89.19 kB / 0.5931 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01913/0.845, allocations: 8.552 MB / 0.6014 GB, free: 16.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/0.8457, allocations: 248.9 kB / 0.6017 GB, free: 16.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.074e-05/0.8458, allocations: 18.25 kB / 0.6017 GB, free: 16.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04873/0.8945, allocations: 24.78 MB / 0.6259 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.8948, allocations: 89.7 kB / 0.626 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004289/0.8953, allocations: 147.5 kB / 0.6261 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01777/0.913, allocations: 6.494 MB / 0.6325 GB, free: 16.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9131, allocations: 2.969 kB / 0.6325 GB, free: 16.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.9131, allocations: 0 / 0.6325 GB, free: 16.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.9131, allocations: 1.422 kB / 0.6325 GB, free: 16.11 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.006679/0.9198, allocations: 1.996 MB / 0.6344 GB, free: 14.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.9199, allocations: 10.97 kB / 0.6344 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007224/0.9206, allocations: 87.05 kB / 0.6345 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.9211, allocations: 321.8 kB / 0.6348 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.219e-05/0.9212, allocations: 37.84 kB / 0.6348 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.9212, allocations: 33.11 kB / 0.6349 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.9224, allocations: 0.6096 MB / 0.6355 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.9224, allocations: 7.156 kB / 0.6355 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.9225, allocations: 13.83 kB / 0.6355 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.9225, allocations: 17.58 kB / 0.6355 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.9237, allocations: 0.5766 MB / 0.6361 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.9259, allocations: 2.508 MB / 0.6385 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.927, allocations: 0.5158 MB / 0.639 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2416/1.169, allocations: 136.2 MB / 0.772 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/1.169, allocations: 42.17 kB / 0.7721 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 3.858e-06/1.169, allocations: 0 / 0.7721 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.006634/1.175, allocations: 2.71 MB / 0.7747 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/1.175, allocations: 59.39 kB / 0.7748 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/1.176, allocations: 253.5 kB / 0.775 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/1.176, allocations: 32.77 kB / 0.775 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/1.176, allocations: 186 kB / 0.7752 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/1.176, allocations: 262.4 kB / 0.7755 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/1.176, allocations: 10.44 kB / 0.7755 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.176, allocations: 352.5 kB / 0.7758 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/1.177, allocations: 283.3 kB / 0.7761 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/1.177, allocations: 414.6 kB / 0.7765 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/1.178, allocations: 339.2 kB / 0.7768 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.178, allocations: 5.078 kB / 0.7768 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001517/1.18, allocations: 0.809 MB / 0.7776 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.18, allocations: 14.77 kB / 0.7776 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.18, allocations: 4.375 kB / 0.7776 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/1.18, allocations: 68.3 kB / 0.7777 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/1.181, allocations: 137.2 kB / 0.7778 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3051/1.486, allocations: 25.24 MB / 0.8025 GB, free: 309.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/1.486, allocations: 57.06 kB / 0.8025 GB, free: 309.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/1.486, allocations: 17.38 kB / 0.8025 GB, free: 309.9 MB / 0.5919 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.0003133/1.487, allocations: 190.8 kB / 0.8027 GB, free: 309.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/1.487, allocations: 43.16 kB / 0.8028 GB, free: 309.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/1.489, allocations: 1.608 MB / 0.8043 GB, free: 309.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/1.489, allocations: 16.23 kB / 0.8043 GB, free: 309.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/1.489, allocations: 0 / 0.8043 GB, free: 309.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/1.49, allocations: 1.202 MB / 0.8055 GB, free: 309.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/1.492, allocations: 1.669 MB / 0.8071 GB, free: 308.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/1.492, allocations: 0 / 0.8071 GB, free: 308.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/1.493, allocations: 87 kB / 0.8072 GB, free: 308.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003111/1.493, allocations: 110 kB / 0.8073 GB, free: 308.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/1.493, allocations: 12.58 kB / 0.8073 GB, free: 308.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/1.494, allocations: 1.901 MB / 0.8092 GB, free: 306.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.494, allocations: 3.938 kB / 0.8092 GB, free: 306.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/1.496, allocations: 1.303 MB / 0.8105 GB, free: 305.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/1.496, allocations: 143.7 kB / 0.8106 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/1.496, allocations: 8 kB / 0.8106 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/1.496, allocations: 51.83 kB / 0.8107 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/1.497, allocations: 48.02 kB / 0.8107 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/1.497, allocations: 17.2 kB / 0.8107 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002359/1.497, allocations: 234.8 kB / 0.811 GB, free: 305.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.497, allocations: 3.969 kB / 0.811 GB, free: 305.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01179/1.509, allocations: 3.187 MB / 0.8141 GB, free: 305.2 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 (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.01848/1.527, allocations: 4.179 MB / 0.8181 GB, free: 304.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001941/1.529, allocations: 0.989 MB / 0.8191 GB, free: 303.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.529, allocations: 0 / 0.8191 GB, free: 303.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006776/1.53, allocations: 0.4978 MB / 0.8196 GB, free: 303.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/1.531, allocations: 320.9 kB / 0.8199 GB, free: 303.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/1.533, allocations: 1.4 MB / 0.8213 GB, free: 302.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/1.534, allocations: 0.8617 MB / 0.8221 GB, free: 301.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004001/1.534, allocations: 134 kB / 0.8222 GB, free: 301.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.804e-05/1.534, allocations: 39.44 kB / 0.8223 GB, free: 301.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.453e-06/1.534, allocations: 0 / 0.8223 GB, free: 301.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1328/1.667, allocations: 116.7 MB / 0.9363 GB, free: 185.4 MB / 0.5919 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: