Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",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.0009382/0.0009382, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004763/0.004763, allocations: 170.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04452/0.04452, allocations: 9.063 MB / 279.8 MB, free: 12.16 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.0004638/0.0004638, allocations: 12 kB / 339.8 MB, free: 25.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07731/0.07778, allocations: 49.19 MB / 389 MB, free: 8.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2733/0.3511, allocations: 128.6 MB / 0.5055 GB, free: 7.176 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2926/0.6437, allocations: 111.5 MB / 0.6144 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005258/0.6443, allocations: 6.75 kB / 0.6144 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.647, allocations: 1.18 MB / 0.6155 GB, free: 1.812 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003123/0.6502, allocations: 1.461 MB / 0.617 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05997/0.7101, allocations: 24.86 MB / 0.6412 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.7119, allocations: 1.817 MB / 0.643 GB, free: 72 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.7121, allocations: 97 kB / 0.6431 GB, free: 44 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01507/0.7272, allocations: 9.73 MB / 0.6526 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.7277, allocations: 382.3 kB / 0.653 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.7278, allocations: 23 kB / 0.653 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0483/0.7761, allocations: 30.64 MB / 0.6829 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.7763, allocations: 97.14 kB / 0.683 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004913/0.7768, allocations: 311.4 kB / 0.6833 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03605/0.8129, allocations: 13.45 MB / 0.6965 GB, free: 1.027 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.813, allocations: 0 / 0.6965 GB, free: 1.027 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.813, allocations: 0 / 0.6965 GB, free: 1.027 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.813, allocations: 3.938 kB / 0.6965 GB, free: 1.023 MB / 478.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.006248/0.8192, allocations: 2.49 MB / 0.6989 GB, free: 14.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.8193, allocations: 12.03 kB / 0.6989 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.8194, allocations: 81.33 kB / 0.699 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005681/0.82, allocations: 87.31 kB / 0.6991 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.8204, allocations: 337.4 kB / 0.6994 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.8205, allocations: 34.47 kB / 0.6994 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.8205, allocations: 33.86 kB / 0.6994 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.8217, allocations: 0.6101 MB / 0.7 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.8218, allocations: 7.984 kB / 0.7001 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.8218, allocations: 15.81 kB / 0.7001 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.8218, allocations: 13.52 kB / 0.7001 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.8231, allocations: 0.5741 MB / 0.7006 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.8255, allocations: 2.471 MB / 0.7031 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.8266, allocations: 0.4969 MB / 0.7035 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005373/0.8271, allocations: 350 kB / 0.7039 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3716/1.199, allocations: 135.8 MB / 0.8365 GB, free: 259.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/1.199, allocations: 36.55 kB / 0.8365 GB, free: 259.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 3.116e-06/1.199, allocations: 0 / 0.8365 GB, free: 259.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005363/1.204, allocations: 2.411 MB / 0.8389 GB, free: 258.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/1.204, allocations: 56.03 kB / 0.8389 GB, free: 258.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/1.204, allocations: 264.8 kB / 0.8392 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/1.204, allocations: 29.7 kB / 0.8392 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/1.205, allocations: 191.6 kB / 0.8394 GB, free: 257.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.205, allocations: 263.7 kB / 0.8397 GB, free: 257.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/1.205, allocations: 63.81 kB / 0.8397 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.775e-05/1.205, allocations: 355.2 kB / 0.8401 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/1.205, allocations: 292.7 kB / 0.8403 GB, free: 256.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/1.206, allocations: 395.4 kB / 0.8407 GB, free: 256.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/1.207, allocations: 0.7243 MB / 0.8414 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.207, allocations: 0 / 0.8414 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001212/1.208, allocations: 0.8234 MB / 0.8422 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.208, allocations: 7.656 kB / 0.8422 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.208, allocations: 3.969 kB / 0.8422 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/1.208, allocations: 63.8 kB / 0.8423 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/1.209, allocations: 147.6 kB / 0.8424 GB, free: 255.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0888/1.298, allocations: 23.84 MB / 0.8657 GB, free: 236.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/1.298, allocations: 52 kB / 0.8658 GB, free: 236.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/1.298, allocations: 19.98 kB / 0.8658 GB, free: 236.3 MB / 0.5762 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 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.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 (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002187/1.298, allocations: 190.3 kB / 0.866 GB, free: 236.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/1.298, allocations: 47.38 kB / 0.866 GB, free: 236.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.3, allocations: 1.743 MB / 0.8677 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.3, allocations: 19.05 kB / 0.8677 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/1.3, allocations: 1.062 kB / 0.8677 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/1.301, allocations: 1.323 MB / 0.869 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/1.303, allocations: 1.77 MB / 0.8708 GB, free: 231 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.303, allocations: 0 / 0.8708 GB, free: 231 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/1.303, allocations: 91.81 kB / 0.8709 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/1.304, allocations: 168.4 kB / 0.871 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/1.304, allocations: 8 kB / 0.871 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009892/1.305, allocations: 2.489 MB / 0.8735 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.305, allocations: 0.9375 kB / 0.8735 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/1.306, allocations: 1.419 MB / 0.8748 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/1.307, allocations: 140.4 kB / 0.875 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/1.307, allocations: 7.938 kB / 0.875 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/1.307, allocations: 47.97 kB / 0.875 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/1.307, allocations: 47.86 kB / 0.8751 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/1.307, allocations: 12 kB / 0.8751 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001641/1.307, allocations: 227 kB / 0.8753 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.307, allocations: 0 / 0.8753 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00612/1.313, allocations: 3.18 MB / 0.8784 GB, free: 223.4 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01272/1.326, allocations: 5.741 MB / 0.884 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001731/1.328, allocations: 1.034 MB / 0.885 GB, free: 217 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.328, allocations: 3.938 kB / 0.885 GB, free: 217 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006484/1.329, allocations: 0.5191 MB / 0.8855 GB, free: 216.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/1.33, allocations: 406.2 kB / 0.8859 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009146/1.34, allocations: 6.436 MB / 0.8922 GB, free: 209.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/1.34, allocations: 0.8527 MB / 0.893 GB, free: 208.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004062/1.34, allocations: 133.9 kB / 0.8932 GB, free: 208.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/1.34, allocations: 167.4 kB / 0.8933 GB, free: 208.4 MB / 0.5762 GB Notification: Performance of SimCode: time 5.1e-07/1.34, allocations: 4 kB / 0.8933 GB, free: 208.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1321/1.473, allocations: 124.7 MB / 1.015 GB, free: 83.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001244/1.473, allocations: 247.2 kB / 1.015 GB, free: 83.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.601/7.074, allocations: 0 / 1.015 GB, free: 83.2 MB / 0.5762 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1)