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.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001221/0.001222, allocations: 194.2 kB / 16.13 MB, free: 6.664 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.209/1.209, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04378/0.04378, allocations: 9.086 MB / 278.4 MB, free: 12.39 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.001321/0.001321, allocations: 63.84 kB / 337.4 MB, free: 25.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06857/0.06991, allocations: 48.15 MB / 385.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2514/0.3213, allocations: 130.6 MB / 0.5041 GB, free: 3.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3011/0.6225, allocations: 112.8 MB / 0.6142 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.623, allocations: 6.156 kB / 0.6142 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.6256, allocations: 1.178 MB / 0.6154 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.6284, allocations: 1.47 MB / 0.6168 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05626/0.6847, allocations: 25.08 MB / 0.6413 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.6864, allocations: 1.824 MB / 0.6431 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.6866, allocations: 101.9 kB / 0.6432 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01361/0.7002, allocations: 9.352 MB / 0.6523 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.7007, allocations: 391.3 kB / 0.6527 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.855e-05/0.7007, allocations: 22.59 kB / 0.6527 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04924/0.75, allocations: 31.44 MB / 0.6834 GB, free: 6.336 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.7503, allocations: 103.2 kB / 0.6835 GB, free: 6.266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000516/0.7508, allocations: 277.9 kB / 0.6838 GB, free: 6.055 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03682/0.7876, allocations: 13.75 MB / 0.6972 GB, free: 10.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7877, allocations: 4 kB / 0.6972 GB, free: 10.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.7877, allocations: 0 / 0.6972 GB, free: 10.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.7877, allocations: 0 / 0.6972 GB, free: 10.37 MB / 494.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.005054/0.7927, allocations: 2.558 MB / 0.6997 GB, free: 7.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.7928, allocations: 16.03 kB / 0.6997 GB, free: 7.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.658e-05/0.7929, allocations: 82.52 kB / 0.6998 GB, free: 7.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.7934, allocations: 94.58 kB / 0.6999 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.7938, allocations: 334.2 kB / 0.7002 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.7938, allocations: 32.66 kB / 0.7003 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.7939, allocations: 28 kB / 0.7003 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.795, allocations: 0.6037 MB / 0.7009 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.795, allocations: 3.906 kB / 0.7009 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.7951, allocations: 16 kB / 0.7009 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.7951, allocations: 22.53 kB / 0.7009 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.7963, allocations: 0.5481 MB / 0.7014 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.7984, allocations: 2.458 MB / 0.7038 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/0.7994, allocations: 491.9 kB / 0.7043 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.7999, allocations: 345.9 kB / 0.7046 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3533/1.153, allocations: 139 MB / 0.8404 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/1.153, allocations: 34.56 kB / 0.8404 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.585e-06/1.153, allocations: 0 / 0.8404 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005053/1.158, allocations: 2.338 MB / 0.8427 GB, free: 251.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/1.158, allocations: 62.06 kB / 0.8427 GB, free: 251.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/1.159, allocations: 257.7 kB / 0.843 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/1.159, allocations: 29.7 kB / 0.843 GB, free: 251 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/1.159, allocations: 201.9 kB / 0.8432 GB, free: 250.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/1.159, allocations: 255.3 kB / 0.8434 GB, free: 250.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/1.159, allocations: 101.5 kB / 0.8435 GB, free: 250.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.76e-05/1.159, allocations: 354.3 kB / 0.8439 GB, free: 250.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/1.159, allocations: 274.5 kB / 0.8441 GB, free: 250.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/1.16, allocations: 391.5 kB / 0.8445 GB, free: 249.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008524/1.161, allocations: 0.7014 MB / 0.8452 GB, free: 249.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.161, allocations: 0 / 0.8452 GB, free: 249.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001168/1.162, allocations: 0.7945 MB / 0.846 GB, free: 248.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.162, allocations: 11 kB / 0.846 GB, free: 248.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.162, allocations: 7.906 kB / 0.846 GB, free: 248.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/1.162, allocations: 64.86 kB / 0.8461 GB, free: 248.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/1.163, allocations: 142.6 kB / 0.8462 GB, free: 248.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0886/1.251, allocations: 25.13 MB / 0.8707 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/1.252, allocations: 47.97 kB / 0.8708 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/1.252, allocations: 19.98 kB / 0.8708 GB, free: 224.9 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.000224/1.252, allocations: 192.9 kB / 0.871 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/1.252, allocations: 51.38 kB / 0.871 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/1.254, allocations: 1.718 MB / 0.8727 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/1.254, allocations: 7.984 kB / 0.8727 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/1.254, allocations: 0 / 0.8727 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001217/1.255, allocations: 1.292 MB / 0.874 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/1.257, allocations: 1.759 MB / 0.8757 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.257, allocations: 0 / 0.8757 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/1.257, allocations: 79.88 kB / 0.8758 GB, free: 219.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000312/1.258, allocations: 166.4 kB / 0.8759 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/1.258, allocations: 8 kB / 0.8759 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/1.259, allocations: 2.464 MB / 0.8783 GB, free: 216.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.259, allocations: 2.031 kB / 0.8783 GB, free: 216.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/1.26, allocations: 1.373 MB / 0.8797 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/1.26, allocations: 128.4 kB / 0.8798 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/1.26, allocations: 8 kB / 0.8798 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/1.261, allocations: 39.94 kB / 0.8799 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.453e-05/1.261, allocations: 39.94 kB / 0.8799 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/1.261, allocations: 19.86 kB / 0.8799 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001607/1.261, allocations: 227.1 kB / 0.8801 GB, free: 214.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.261, allocations: 0 / 0.8801 GB, free: 214.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006588/1.268, allocations: 3.185 MB / 0.8832 GB, free: 212.1 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.01572/1.283, allocations: 5.826 MB / 0.8889 GB, free: 206.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001883/1.285, allocations: 1.027 MB / 0.8899 GB, free: 205.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.285, allocations: 4 kB / 0.8899 GB, free: 205.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006618/1.286, allocations: 0.4997 MB / 0.8904 GB, free: 205.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/1.288, allocations: 415.4 kB / 0.8908 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.298, allocations: 6.313 MB / 0.897 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/1.298, allocations: 0.8449 MB / 0.8978 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000446/1.299, allocations: 151.3 kB / 0.898 GB, free: 197.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/1.299, allocations: 163.4 kB / 0.8981 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/1.299, allocations: 0 / 0.8981 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.639/2.938, allocations: 124.8 MB / 1.02 GB, free: 72.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/2.938, allocations: 247.2 kB / 1.02 GB, free: 71.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.409/9.347, allocations: 4 kB / 1.02 GB, free: 71.79 MB / 0.5762 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/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)