Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",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.0009697/0.0009698, allocations: 100.2 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.0008975/0.0008976, allocations: 177.3 kB / 15.94 MB, free: 228 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.384/1.384, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0418/0.0418, allocations: 9.06 MB / 279.4 MB, free: 12.13 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.0004841/0.0004842, allocations: 12 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08594/0.08643, allocations: 49.18 MB / 388.4 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2795/0.3659, allocations: 106.7 MB / 495.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.07782/0.4438, allocations: 88.49 MB / 0.5699 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005753/0.4444, allocations: 4 kB / 0.5699 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.4473, allocations: 1.129 MB / 0.571 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.4502, allocations: 1.293 MB / 0.5722 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2725/0.7227, allocations: 22.61 MB / 0.5943 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.7242, allocations: 0.7808 MB / 0.5951 GB, free: 16.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.7245, allocations: 91.89 kB / 0.5952 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01972/0.7442, allocations: 9.815 MB / 0.6048 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.7446, allocations: 264.7 kB / 0.605 GB, free: 16.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.7447, allocations: 19.53 kB / 0.605 GB, free: 16.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04405/0.7887, allocations: 25.6 MB / 0.63 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.789, allocations: 87.25 kB / 0.6301 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.7894, allocations: 151.1 kB / 0.6303 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01539/0.8048, allocations: 6.493 MB / 0.6366 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8048, allocations: 2.812 kB / 0.6366 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.8049, allocations: 0 / 0.6366 GB, free: 14.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.8049, allocations: 0 / 0.6366 GB, free: 14.27 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.005372/0.8103, allocations: 1.996 MB / 0.6386 GB, free: 12.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8103, allocations: 16.03 kB / 0.6386 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.701e-05/0.8104, allocations: 86.27 kB / 0.6387 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005601/0.811, allocations: 88.84 kB / 0.6387 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.8114, allocations: 331.3 kB / 0.6391 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.8114, allocations: 32.45 kB / 0.6391 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.8115, allocations: 33.97 kB / 0.6391 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.8125, allocations: 0.6039 MB / 0.6397 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.8126, allocations: 5.25 kB / 0.6397 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.8126, allocations: 17.44 kB / 0.6397 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.8126, allocations: 18.62 kB / 0.6397 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.8138, allocations: 0.5732 MB / 0.6403 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.8161, allocations: 2.476 MB / 0.6427 GB, free: 25.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009046/0.817, allocations: 0.4897 MB / 0.6432 GB, free: 24.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2249/1.042, allocations: 136.2 MB / 0.7762 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.042, allocations: 37 kB / 0.7762 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=77): time 2.615e-06/1.042, allocations: 0 / 0.7762 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.005677/1.048, allocations: 2.706 MB / 0.7789 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/1.048, allocations: 55.41 kB / 0.7789 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/1.048, allocations: 255.7 kB / 0.7792 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/1.048, allocations: 33.27 kB / 0.7792 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/1.048, allocations: 192.8 kB / 0.7794 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/1.048, allocations: 264 kB / 0.7796 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/1.048, allocations: 11.25 kB / 0.7797 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.048, allocations: 348.5 kB / 0.78 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/1.049, allocations: 291.5 kB / 0.7803 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/1.05, allocations: 399.7 kB / 0.7806 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/1.05, allocations: 343.8 kB / 0.781 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.05, allocations: 0 / 0.781 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001308/1.051, allocations: 0.8121 MB / 0.7818 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.051, allocations: 6.344 kB / 0.7818 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.051, allocations: 4 kB / 0.7818 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/1.052, allocations: 73.83 kB / 0.7818 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/1.052, allocations: 146.6 kB / 0.782 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.307/1.359, allocations: 25.05 MB / 0.8065 GB, free: 183 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/1.36, allocations: 53.02 kB / 0.8065 GB, free: 183 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/1.36, allocations: 19.16 kB / 0.8065 GB, free: 183 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (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,ambient.medium.sat.liq.phase,ambient.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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,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.0002586/1.36, allocations: 196.7 kB / 0.8067 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/1.36, allocations: 43.59 kB / 0.8067 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/1.362, allocations: 1.744 MB / 0.8085 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/1.362, allocations: 15.73 kB / 0.8085 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/1.362, allocations: 0 / 0.8085 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001278/1.363, allocations: 1.32 MB / 0.8098 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/1.365, allocations: 1.78 MB / 0.8115 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.365, allocations: 2.094 kB / 0.8115 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/1.366, allocations: 78.64 kB / 0.8116 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/1.366, allocations: 173.1 kB / 0.8117 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/1.366, allocations: 13.03 kB / 0.8117 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/1.367, allocations: 2.484 MB / 0.8142 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.367, allocations: 0 / 0.8142 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/1.369, allocations: 1.424 MB / 0.8156 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/1.369, allocations: 130.8 kB / 0.8157 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/1.369, allocations: 10.58 kB / 0.8157 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/1.37, allocations: 46.05 kB / 0.8157 GB, free: 179 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.37, allocations: 44.69 kB / 0.8158 GB, free: 179 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/1.37, allocations: 11.84 kB / 0.8158 GB, free: 179 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001912/1.37, allocations: 220.6 kB / 0.816 GB, free: 179 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.37, allocations: 2.969 kB / 0.816 GB, free: 179 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008498/1.379, allocations: 3.182 MB / 0.8191 GB, free: 178.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * 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: 3 * 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: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01935/1.398, allocations: 5.842 MB / 0.8248 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002166/1.4, allocations: 1.034 MB / 0.8258 GB, free: 177 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.4, allocations: 0 / 0.8258 GB, free: 177 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007214/1.401, allocations: 0.5174 MB / 0.8263 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/1.403, allocations: 335.9 kB / 0.8267 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.414, allocations: 6.198 MB / 0.8327 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/1.414, allocations: 0.8622 MB / 0.8336 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005776/1.415, allocations: 135.7 kB / 0.8337 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/1.415, allocations: 164.4 kB / 0.8338 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.553e-06/1.415, allocations: 0 / 0.8338 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/1.569, allocations: 123.8 MB / 0.9547 GB, free: 56.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.569, allocations: 228.3 kB / 0.9549 GB, free: 56.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.141/7.71, allocations: 0 / 0.9549 GB, free: 56.14 MB / 0.5919 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) Environment - environmentSimulation: