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.001227/0.001227, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001239/0.001239, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.298/1.298, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04185/0.04185, allocations: 9.084 MB / 278.5 MB, free: 12.35 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.001292/0.001292, allocations: 71.84 kB / 337.6 MB, free: 25.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07607/0.07737, allocations: 48.16 MB / 385.8 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2488/0.3262, allocations: 128.2 MB / 0.502 GB, free: 5.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2737/0.6, allocations: 110.8 MB / 0.6102 GB, free: 288 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.6004, allocations: 7.5 kB / 0.6102 GB, free: 288 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.6028, allocations: 1.279 MB / 0.6114 GB, free: 280 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.6055, allocations: 1.553 MB / 0.6129 GB, free: 264 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05397/0.6595, allocations: 26.68 MB / 0.639 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.6609, allocations: 1.404 MB / 0.6404 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.6611, allocations: 128.3 kB / 0.6405 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01228/0.6734, allocations: 10 MB / 0.6503 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.6738, allocations: 389.9 kB / 0.6506 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/0.6739, allocations: 44 kB / 0.6507 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04764/0.7215, allocations: 34.61 MB / 0.6845 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.7218, allocations: 123 kB / 0.6846 GB, free: 2.855 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000596/0.7224, allocations: 309.8 kB / 0.6849 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03483/0.7572, allocations: 14.18 MB / 0.6987 GB, free: 5.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7573, allocations: 3.938 kB / 0.6987 GB, free: 5.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.7573, allocations: 4 kB / 0.6987 GB, free: 5.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.7573, allocations: 0 / 0.6987 GB, free: 5.453 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.005583/0.7629, allocations: 2.564 MB / 0.7013 GB, free: 2.844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.7629, allocations: 8.031 kB / 0.7013 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.745e-05/0.763, allocations: 86.45 kB / 0.7013 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005666/0.7636, allocations: 91.39 kB / 0.7014 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.764, allocations: 338.8 kB / 0.7018 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.764, allocations: 32.66 kB / 0.7018 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.7641, allocations: 32 kB / 0.7018 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.7652, allocations: 0.604 MB / 0.7024 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.7652, allocations: 3.906 kB / 0.7024 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.7653, allocations: 16 kB / 0.7024 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.7653, allocations: 11.67 kB / 0.7024 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.7665, allocations: 0.552 MB / 0.703 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.7689, allocations: 2.462 MB / 0.7054 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009489/0.7698, allocations: 492.1 kB / 0.7058 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005192/0.7704, allocations: 337.9 kB / 0.7062 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3531/1.123, allocations: 139 MB / 0.8419 GB, free: 278.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.123, allocations: 38.45 kB / 0.8419 GB, free: 278.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=77): time 1.944e-06/1.124, allocations: 3.656 kB / 0.8419 GB, free: 278.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.004639/1.128, allocations: 2.339 MB / 0.8442 GB, free: 277.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.579e-05/1.128, allocations: 58.69 kB / 0.8443 GB, free: 277.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/1.128, allocations: 258.5 kB / 0.8445 GB, free: 276.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/1.128, allocations: 29.7 kB / 0.8445 GB, free: 276.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/1.128, allocations: 201.2 kB / 0.8447 GB, free: 276.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/1.129, allocations: 259.5 kB / 0.845 GB, free: 276.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.723e-05/1.129, allocations: 99.45 kB / 0.8451 GB, free: 276.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.06e-05/1.129, allocations: 362.4 kB / 0.8454 GB, free: 276 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/1.129, allocations: 266.9 kB / 0.8457 GB, free: 275.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/1.13, allocations: 396 kB / 0.8461 GB, free: 275.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/1.13, allocations: 0.6974 MB / 0.8467 GB, free: 275.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.13, allocations: 0 / 0.8467 GB, free: 275.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001087/1.131, allocations: 0.7972 MB / 0.8475 GB, free: 274.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.131, allocations: 11.55 kB / 0.8475 GB, free: 274.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.131, allocations: 3.938 kB / 0.8475 GB, free: 274.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/1.132, allocations: 59.75 kB / 0.8476 GB, free: 274.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/1.132, allocations: 142.2 kB / 0.8477 GB, free: 274.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08323/1.215, allocations: 25.44 MB / 0.8726 GB, free: 251.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/1.216, allocations: 47.8 kB / 0.8726 GB, free: 251.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/1.216, allocations: 16 kB / 0.8726 GB, free: 251.8 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 (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.0001791/1.216, allocations: 192.1 kB / 0.8728 GB, free: 251.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/1.216, allocations: 43.53 kB / 0.8729 GB, free: 251.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/1.218, allocations: 1.714 MB / 0.8745 GB, free: 249.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.218, allocations: 16.98 kB / 0.8745 GB, free: 249.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/1.218, allocations: 7.938 kB / 0.8746 GB, free: 249.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/1.219, allocations: 1.296 MB / 0.8758 GB, free: 248.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/1.22, allocations: 1.743 MB / 0.8775 GB, free: 246.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.22, allocations: 0 / 0.8775 GB, free: 246.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/1.221, allocations: 79.88 kB / 0.8776 GB, free: 246.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/1.221, allocations: 166.2 kB / 0.8778 GB, free: 246.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/1.221, allocations: 8 kB / 0.8778 GB, free: 246.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008899/1.222, allocations: 2.571 MB / 0.8803 GB, free: 243.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/1.222, allocations: 0 / 0.8803 GB, free: 243.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/1.223, allocations: 1.38 MB / 0.8816 GB, free: 242.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/1.223, allocations: 115.5 kB / 0.8817 GB, free: 242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/1.224, allocations: 15.88 kB / 0.8817 GB, free: 242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/1.224, allocations: 42.11 kB / 0.8818 GB, free: 241.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/1.224, allocations: 48 kB / 0.8818 GB, free: 241.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/1.224, allocations: 12 kB / 0.8818 GB, free: 241.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00014/1.224, allocations: 223 kB / 0.8821 GB, free: 241.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/1.224, allocations: 4 kB / 0.8821 GB, free: 241.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005352/1.229, allocations: 3.182 MB / 0.8852 GB, free: 238.9 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 (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.242, allocations: 5.813 MB / 0.8908 GB, free: 233.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001669/1.244, allocations: 1.045 MB / 0.8919 GB, free: 232.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.244, allocations: 0 / 0.8919 GB, free: 232.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005666/1.244, allocations: 0.5116 MB / 0.8924 GB, free: 231.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/1.246, allocations: 413 kB / 0.8928 GB, free: 231.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/1.254, allocations: 6.302 MB / 0.8989 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/1.254, allocations: 0.8487 MB / 0.8997 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003277/1.254, allocations: 139.1 kB / 0.8999 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/1.254, allocations: 171.4 kB / 0.9 GB, free: 223.9 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/1.254, allocations: 0 / 0.9 GB, free: 223.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.596/3.851, allocations: 125 MB / 1.022 GB, free: 98.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/3.851, allocations: 251.4 kB / 1.022 GB, free: 98.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/11.05, allocations: 3.938 kB / 1.022 GB, free: 98.43 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/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)