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.0007453/0.0007453, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0007774/0.0007774, allocations: 172.7 kB / 15.95 MB, free: 208 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.205/1.205, 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.04186/0.04186, allocations: 9.065 MB / 279.5 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.000487/0.0004871, allocations: 20 kB / 339.2 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07002/0.07051, allocations: 49.18 MB / 388.4 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.2538/0.3244, allocations: 119.3 MB / 0.4958 GB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2873/0.6117, allocations: 102.9 MB / 0.5962 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006116/0.6123, allocations: 3.906 kB / 0.5963 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.6148, allocations: 1.028 MB / 0.5973 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002663/0.6175, allocations: 1.278 MB / 0.5985 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05006/0.6675, allocations: 22.24 MB / 0.6202 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.6692, allocations: 1.513 MB / 0.6217 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.6694, allocations: 91.47 kB / 0.6218 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01354/0.6829, allocations: 8.576 MB / 0.6302 GB, free: 9.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.6834, allocations: 354.5 kB / 0.6305 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.6834, allocations: 20.03 kB / 0.6305 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04689/0.7303, allocations: 26.68 MB / 0.6566 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.7306, allocations: 99.05 kB / 0.6567 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.731, allocations: 141.6 kB / 0.6568 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01812/0.7491, allocations: 8.611 MB / 0.6652 GB, free: 6.758 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7491, allocations: 0 / 0.6652 GB, free: 6.758 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.7491, allocations: 0 / 0.6652 GB, free: 6.758 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.7492, allocations: 0 / 0.6652 GB, free: 6.758 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.005528/0.7547, allocations: 2.49 MB / 0.6676 GB, free: 4.316 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.7547, allocations: 12.03 kB / 0.6677 GB, free: 4.305 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.664e-05/0.7548, allocations: 93.83 kB / 0.6677 GB, free: 4.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005311/0.7554, allocations: 88.67 kB / 0.6678 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.7558, allocations: 332.5 kB / 0.6681 GB, free: 3.832 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.7558, allocations: 31.59 kB / 0.6682 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.7559, allocations: 34.56 kB / 0.6682 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.757, allocations: 0.609 MB / 0.6688 GB, free: 3.348 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.757, allocations: 0 / 0.6688 GB, free: 3.348 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.7571, allocations: 13.75 kB / 0.6688 GB, free: 3.344 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.7571, allocations: 22.52 kB / 0.6688 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.7583, allocations: 0.571 MB / 0.6694 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.7605, allocations: 2.504 MB / 0.6718 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.7615, allocations: 0.5141 MB / 0.6723 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.762, allocations: 349.9 kB / 0.6727 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3548/1.117, allocations: 135.8 MB / 0.8053 GB, free: 279.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/1.117, allocations: 38.62 kB / 0.8053 GB, free: 279.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.246e-06/1.117, allocations: 0 / 0.8053 GB, free: 279.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.00578/1.123, allocations: 2.4 MB / 0.8077 GB, free: 278.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/1.123, allocations: 56.16 kB / 0.8077 GB, free: 278.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/1.123, allocations: 260.5 kB / 0.808 GB, free: 278.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/1.123, allocations: 29.55 kB / 0.808 GB, free: 278.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/1.123, allocations: 193.5 kB / 0.8082 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/1.123, allocations: 260.1 kB / 0.8085 GB, free: 278.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/1.123, allocations: 9.562 kB / 0.8085 GB, free: 278.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/1.123, allocations: 356.9 kB / 0.8088 GB, free: 277.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/1.124, allocations: 286 kB / 0.8091 GB, free: 277.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/1.124, allocations: 418.4 kB / 0.8095 GB, free: 277.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/1.125, allocations: 338.1 kB / 0.8098 GB, free: 277.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.125, allocations: 1.094 kB / 0.8098 GB, free: 277.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001325/1.126, allocations: 0.8209 MB / 0.8106 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.126, allocations: 7.531 kB / 0.8106 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.126, allocations: 3.719 kB / 0.8106 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002285/1.127, allocations: 69.05 kB / 0.8107 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/1.127, allocations: 130.6 kB / 0.8108 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08161/1.209, allocations: 25.28 MB / 0.8355 GB, free: 259.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/1.209, allocations: 55.88 kB / 0.8355 GB, free: 259.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/1.209, allocations: 19.98 kB / 0.8356 GB, free: 259.6 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.0002412/1.21, allocations: 189.7 kB / 0.8357 GB, free: 259.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/1.21, allocations: 41.17 kB / 0.8358 GB, free: 259.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/1.211, allocations: 1.614 MB / 0.8374 GB, free: 257.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.211, allocations: 10.58 kB / 0.8374 GB, free: 257.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.211, allocations: 0 / 0.8374 GB, free: 257.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001109/1.213, allocations: 1.208 MB / 0.8385 GB, free: 256.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/1.214, allocations: 1.664 MB / 0.8402 GB, free: 254.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.214, allocations: 0 / 0.8402 GB, free: 254.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/1.215, allocations: 83.88 kB / 0.8403 GB, free: 254.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/1.215, allocations: 114.9 kB / 0.8404 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/1.215, allocations: 11.95 kB / 0.8404 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008366/1.216, allocations: 1.905 MB / 0.8422 GB, free: 252.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.216, allocations: 0 / 0.8422 GB, free: 252.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/1.217, allocations: 1.288 MB / 0.8435 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/1.218, allocations: 148.4 kB / 0.8436 GB, free: 250.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/1.218, allocations: 8 kB / 0.8436 GB, free: 250.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/1.218, allocations: 48.02 kB / 0.8437 GB, free: 250.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/1.218, allocations: 35.94 kB / 0.8437 GB, free: 250.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/1.218, allocations: 19.98 kB / 0.8437 GB, free: 250.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001872/1.218, allocations: 243 kB / 0.844 GB, free: 250.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.218, allocations: 4 kB / 0.844 GB, free: 250.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006558/1.225, allocations: 3.179 MB / 0.8471 GB, free: 247.8 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.01532/1.24, allocations: 5.823 MB / 0.8528 GB, free: 242.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001717/1.242, allocations: 1.001 MB / 0.8537 GB, free: 241.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.242, allocations: 0 / 0.8537 GB, free: 241.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006322/1.243, allocations: 0.4992 MB / 0.8542 GB, free: 240.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.244, allocations: 333.9 kB / 0.8546 GB, free: 240.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007894/1.252, allocations: 4.349 MB / 0.8588 GB, free: 236.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/1.252, allocations: 0.8548 MB / 0.8596 GB, free: 235.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003921/1.253, allocations: 149.7 kB / 0.8598 GB, free: 235.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/1.253, allocations: 167.4 kB / 0.8599 GB, free: 235 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/1.253, allocations: 3.938 kB / 0.8599 GB, free: 235 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1344/1.387, allocations: 122.9 MB / 0.9799 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/1.387, allocations: 230.2 kB / 0.9801 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.119/7.506, allocations: 3.938 kB / 0.9802 GB, free: 111.7 MB / 0.5762 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: