Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",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.0007437/0.0007438, 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.0007908/0.0007908, 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.213/1.213, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04053/0.04053, allocations: 9.063 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.0004504/0.0004505, allocations: 19.94 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06855/0.06901, allocations: 49.18 MB / 388.4 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.2548/0.3239, allocations: 118.7 MB / 0.4953 GB, free: 1.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3099/0.6338, allocations: 102.3 MB / 0.5952 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.6344, allocations: 6.969 kB / 0.5952 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.6363, allocations: 0.7725 MB / 0.596 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.6381, allocations: 0.8449 MB / 0.5968 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0522/0.6903, allocations: 22.32 MB / 0.6186 GB, free: 9.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.6921, allocations: 1.549 MB / 0.6201 GB, free: 9.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.6923, allocations: 93.33 kB / 0.6202 GB, free: 9.824 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01593/0.7082, allocations: 11.89 MB / 0.6318 GB, free: 8.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.7086, allocations: 357.8 kB / 0.6321 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.7087, allocations: 23.31 kB / 0.6322 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04385/0.7525, allocations: 26.34 MB / 0.6579 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.7528, allocations: 95.16 kB / 0.658 GB, free: 11.83 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.7531, allocations: 144.4 kB / 0.6581 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01634/0.7695, allocations: 8.57 MB / 0.6665 GB, free: 4.879 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7695, allocations: 0 / 0.6665 GB, free: 4.879 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.24e-06/0.7695, allocations: 0 / 0.6665 GB, free: 4.879 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.7696, allocations: 7.938 kB / 0.6665 GB, free: 4.871 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.005184/0.7747, allocations: 2.493 MB / 0.6689 GB, free: 2.426 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.7748, allocations: 12.03 kB / 0.6689 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.335e-05/0.7749, allocations: 85.7 kB / 0.669 GB, free: 2.348 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005339/0.7754, allocations: 91.3 kB / 0.6691 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.7758, allocations: 332.8 kB / 0.6694 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.7758, allocations: 29.78 kB / 0.6695 GB, free: 1.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.7759, allocations: 32.42 kB / 0.6695 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.777, allocations: 0.6081 MB / 0.6701 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.777, allocations: 2.375 kB / 0.6701 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.7771, allocations: 14.5 kB / 0.6701 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.7771, allocations: 21.2 kB / 0.6701 GB, free: 1.445 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.7783, allocations: 0.5739 MB / 0.6707 GB, free: 1.039 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.7805, allocations: 2.551 MB / 0.6732 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009796/0.7815, allocations: 0.5084 MB / 0.6737 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/0.7819, allocations: 356.3 kB / 0.674 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.336/1.118, allocations: 135.8 MB / 0.8066 GB, free: 277.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/1.118, allocations: 43.66 kB / 0.8067 GB, free: 277.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.295e-06/1.118, allocations: 0 / 0.8067 GB, free: 277.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.005149/1.123, allocations: 2.407 MB / 0.809 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/1.123, allocations: 55.78 kB / 0.8091 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/1.124, allocations: 249.3 kB / 0.8093 GB, free: 277 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/1.124, allocations: 32.67 kB / 0.8093 GB, free: 277 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/1.124, allocations: 184.4 kB / 0.8095 GB, free: 276.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/1.124, allocations: 268.8 kB / 0.8098 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/1.124, allocations: 7.781 kB / 0.8098 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.957e-05/1.124, allocations: 354 kB / 0.8101 GB, free: 276.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/1.124, allocations: 281.8 kB / 0.8104 GB, free: 276.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/1.125, allocations: 406.7 kB / 0.8108 GB, free: 276.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/1.125, allocations: 327.4 kB / 0.8111 GB, free: 276 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.125, allocations: 1.781 kB / 0.8111 GB, free: 276 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001225/1.126, allocations: 0.8142 MB / 0.8119 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.126, allocations: 6.281 kB / 0.8119 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.127, allocations: 4.312 kB / 0.8119 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/1.127, allocations: 62.33 kB / 0.812 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/1.127, allocations: 106.1 kB / 0.8121 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07817/1.205, allocations: 22.61 MB / 0.8341 GB, free: 260.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/1.206, allocations: 55.97 kB / 0.8342 GB, free: 260.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/1.206, allocations: 19.98 kB / 0.8342 GB, free: 260.4 MB / 0.5762 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.0002169/1.206, allocations: 185.7 kB / 0.8344 GB, free: 260.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/1.206, allocations: 47.39 kB / 0.8344 GB, free: 260.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/1.208, allocations: 1.582 MB / 0.836 GB, free: 258.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/1.208, allocations: 15.98 kB / 0.836 GB, free: 258.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/1.208, allocations: 0 / 0.836 GB, free: 258.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/1.209, allocations: 1.158 MB / 0.8371 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/1.21, allocations: 1.62 MB / 0.8387 GB, free: 255.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/1.21, allocations: 0 / 0.8387 GB, free: 255.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/1.211, allocations: 87.94 kB / 0.8388 GB, free: 255.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/1.211, allocations: 52.77 kB / 0.8388 GB, free: 255.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/1.211, allocations: 11.95 kB / 0.8389 GB, free: 255.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006485/1.212, allocations: 1.332 MB / 0.8402 GB, free: 254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.212, allocations: 3.938 kB / 0.8402 GB, free: 254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/1.213, allocations: 1.213 MB / 0.8413 GB, free: 252.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/1.213, allocations: 144.4 kB / 0.8415 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/1.213, allocations: 18.91 kB / 0.8415 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/1.213, allocations: 43.97 kB / 0.8415 GB, free: 252.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/1.214, allocations: 43.92 kB / 0.8416 GB, free: 252.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/1.214, allocations: 19.92 kB / 0.8416 GB, free: 252.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001731/1.214, allocations: 239 kB / 0.8418 GB, free: 252.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.214, allocations: 0 / 0.8418 GB, free: 252.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006048/1.22, allocations: 3.188 MB / 0.8449 GB, free: 249.5 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 (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.01294/1.233, allocations: 5.77 MB / 0.8506 GB, free: 244.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001356/1.234, allocations: 0.9535 MB / 0.8515 GB, free: 243.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.234, allocations: 4 kB / 0.8515 GB, free: 243.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005617/1.235, allocations: 495.3 kB / 0.852 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.001422/1.236, allocations: 321.5 kB / 0.8523 GB, free: 242.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/1.243, allocations: 4.349 MB / 0.8565 GB, free: 237.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/1.243, allocations: 0.8486 MB / 0.8574 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003685/1.244, allocations: 159.1 kB / 0.8575 GB, free: 236.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/1.244, allocations: 163.4 kB / 0.8577 GB, free: 236.7 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/1.244, allocations: 0 / 0.8577 GB, free: 236.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/1.379, allocations: 122.7 MB / 0.9775 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/1.379, allocations: 231.5 kB / 0.9778 GB, free: 113.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.518/6.897, allocations: 0 / 0.9778 GB, free: 113.6 MB / 0.5762 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) Environment - environmentSimulation: