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: "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009993, allocations: 99.08 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.000898/0.0008981, allocations: 177.3 kB / 15.94 MB, free: 220 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.373/1.373, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04287/0.04287, allocations: 9.052 MB / 279.4 MB, free: 12.28 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.0004908/0.000491, allocations: 19.94 kB / 339.2 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0849/0.0854, allocations: 49.18 MB / 388.4 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.2761/0.3615, allocations: 106 MB / 494.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.07623/0.4378, allocations: 87.56 MB / 0.5683 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005812/0.4384, allocations: 7.938 kB / 0.5683 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.441, allocations: 1.082 MB / 0.5694 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.4439, allocations: 1.25 MB / 0.5706 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2706/0.7145, allocations: 22.28 MB / 0.5923 GB, free: 16.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.7162, allocations: 0.7605 MB / 0.5931 GB, free: 16.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.7165, allocations: 94.69 kB / 0.5932 GB, free: 16.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0173/0.7338, allocations: 8.554 MB / 0.6015 GB, free: 16.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.7341, allocations: 251.4 kB / 0.6018 GB, free: 16.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.7342, allocations: 19.09 kB / 0.6018 GB, free: 16.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0423/0.7765, allocations: 24.78 MB / 0.626 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.7767, allocations: 88.98 kB / 0.6261 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.777, allocations: 146.3 kB / 0.6262 GB, free: 16.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.7923, allocations: 6.488 MB / 0.6325 GB, free: 16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.7923, allocations: 0 / 0.6325 GB, free: 16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7923, allocations: 0 / 0.6325 GB, free: 16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.7924, allocations: 2.031 kB / 0.6326 GB, free: 16 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.005426/0.7978, allocations: 1.997 MB / 0.6345 GB, free: 14.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.7978, allocations: 10.53 kB / 0.6345 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.801e-05/0.7979, allocations: 89.48 kB / 0.6346 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005667/0.7985, allocations: 92.41 kB / 0.6347 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.7988, allocations: 320.7 kB / 0.635 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.7989, allocations: 31.81 kB / 0.635 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.7989, allocations: 33.78 kB / 0.6351 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.8, allocations: 0.6062 MB / 0.6356 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.8, allocations: 0.625 kB / 0.6356 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.8001, allocations: 16.41 kB / 0.6357 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.8001, allocations: 22.72 kB / 0.6357 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.8012, allocations: 0.5738 MB / 0.6362 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.8031, allocations: 2.515 MB / 0.6387 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/0.804, allocations: 0.5064 MB / 0.6392 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2224/1.026, allocations: 136.2 MB / 0.7722 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/1.027, allocations: 38.72 kB / 0.7722 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 3.006e-06/1.027, allocations: 0 / 0.7722 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.005659/1.032, allocations: 2.703 MB / 0.7749 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/1.032, allocations: 55.41 kB / 0.7749 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/1.033, allocations: 256.7 kB / 0.7752 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/1.033, allocations: 38.77 kB / 0.7752 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/1.033, allocations: 190.7 kB / 0.7754 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/1.033, allocations: 262.4 kB / 0.7756 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/1.033, allocations: 12 kB / 0.7757 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.033, allocations: 347.6 kB / 0.776 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/1.033, allocations: 289.2 kB / 0.7763 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/1.034, allocations: 412.5 kB / 0.7767 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/1.035, allocations: 335.4 kB / 0.777 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.035, allocations: 4 kB / 0.777 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001358/1.036, allocations: 0.8136 MB / 0.7778 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.036, allocations: 11.95 kB / 0.7778 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.036, allocations: 3.984 kB / 0.7778 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/1.036, allocations: 66.45 kB / 0.7779 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/1.037, allocations: 131.5 kB / 0.778 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2506/1.287, allocations: 25.24 MB / 0.8026 GB, free: 309.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/1.288, allocations: 56.39 kB / 0.8027 GB, free: 309.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/1.288, allocations: 19.86 kB / 0.8027 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.0002291/1.288, allocations: 189.7 kB / 0.8029 GB, free: 309.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/1.288, allocations: 39.69 kB / 0.8029 GB, free: 309.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/1.29, allocations: 1.622 MB / 0.8045 GB, free: 309.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/1.29, allocations: 14.09 kB / 0.8045 GB, free: 309.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.29, allocations: 1.094 kB / 0.8045 GB, free: 309.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/1.291, allocations: 1.203 MB / 0.8057 GB, free: 309.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/1.293, allocations: 1.663 MB / 0.8073 GB, free: 308.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.293, allocations: 0 / 0.8073 GB, free: 308.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/1.293, allocations: 91.59 kB / 0.8074 GB, free: 308.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/1.294, allocations: 110.5 kB / 0.8075 GB, free: 308.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/1.294, allocations: 14.64 kB / 0.8075 GB, free: 308.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008654/1.295, allocations: 1.904 MB / 0.8094 GB, free: 306.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.295, allocations: 80 / 0.8094 GB, free: 306.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/1.296, allocations: 1.299 MB / 0.8106 GB, free: 305.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/1.296, allocations: 140.8 kB / 0.8108 GB, free: 305.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/1.296, allocations: 11.97 kB / 0.8108 GB, free: 305.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/1.297, allocations: 48.16 kB / 0.8108 GB, free: 305.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/1.297, allocations: 53.33 kB / 0.8109 GB, free: 305.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/1.297, allocations: 10.02 kB / 0.8109 GB, free: 305.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002015/1.297, allocations: 249.4 kB / 0.8111 GB, free: 305.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.297, allocations: 0 / 0.8111 GB, free: 305.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007924/1.305, allocations: 3.179 MB / 0.8142 GB, free: 305.1 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.01709/1.322, allocations: 5.907 MB / 0.82 GB, free: 303.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001794/1.324, allocations: 0.9881 MB / 0.821 GB, free: 302.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.324, allocations: 3.938 kB / 0.821 GB, free: 302.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006434/1.325, allocations: 0.4969 MB / 0.8215 GB, free: 302.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.326, allocations: 323.7 kB / 0.8218 GB, free: 302 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009706/1.336, allocations: 6.627 MB / 0.8282 GB, free: 295.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/1.336, allocations: 0.8571 MB / 0.8291 GB, free: 294.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004128/1.336, allocations: 144.2 kB / 0.8292 GB, free: 294.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/1.337, allocations: 165.3 kB / 0.8294 GB, free: 294.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/1.337, allocations: 0 / 0.8294 GB, free: 294.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/1.485, allocations: 122.9 MB / 0.9494 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/1.485, allocations: 216.9 kB / 0.9496 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.119/7.604, allocations: 4 kB / 0.9496 GB, free: 171.5 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) Environment - environmentSimulation: