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.0007388/0.0007388, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0007582/0.0007582, allocations: 168.7 kB / 15.95 MB, free: 204 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.208/1.208, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04251/0.04251, allocations: 9.077 MB / 279.5 MB, free: 12.47 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.0004601/0.0004601, allocations: 12 kB / 339.2 MB, free: 25.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07205/0.07252, allocations: 49.19 MB / 388.4 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2477/0.3203, allocations: 120 MB / 0.4965 GB, free: 160 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2832/0.6035, allocations: 103.8 MB / 0.5979 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006491/0.6042, allocations: 6.75 kB / 0.5979 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.6067, allocations: 1.07 MB / 0.5989 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.6096, allocations: 1.324 MB / 0.6002 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05079/0.6604, allocations: 22.62 MB / 0.6223 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001647/0.662, allocations: 1.575 MB / 0.6239 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.6622, allocations: 96.09 kB / 0.6239 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.014/0.6762, allocations: 9.765 MB / 0.6335 GB, free: 8.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.6766, allocations: 366 kB / 0.6338 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.6766, allocations: 16.66 kB / 0.6338 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04493/0.7216, allocations: 27.91 MB / 0.6611 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.7218, allocations: 93.3 kB / 0.6612 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.7221, allocations: 142.5 kB / 0.6613 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.7386, allocations: 8.615 MB / 0.6697 GB, free: 4.094 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7387, allocations: 0 / 0.6697 GB, free: 4.094 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.7387, allocations: 0 / 0.6697 GB, free: 4.094 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.7387, allocations: 0 / 0.6697 GB, free: 4.094 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.005303/0.744, allocations: 2.497 MB / 0.6722 GB, free: 1.645 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.744, allocations: 8.031 kB / 0.6722 GB, free: 1.637 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.172e-05/0.7441, allocations: 94.53 kB / 0.6723 GB, free: 1.562 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004991/0.7446, allocations: 89.61 kB / 0.6724 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.745, allocations: 332.1 kB / 0.6727 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.745, allocations: 27.22 kB / 0.6727 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.7451, allocations: 33.75 kB / 0.6727 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.7462, allocations: 0.6116 MB / 0.6733 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.7462, allocations: 2.812 kB / 0.6733 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.7463, allocations: 22.05 kB / 0.6734 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.7463, allocations: 19.48 kB / 0.6734 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.7475, allocations: 0.5702 MB / 0.6739 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.7496, allocations: 2.468 MB / 0.6763 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008982/0.7506, allocations: 0.5004 MB / 0.6768 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004588/0.751, allocations: 345.1 kB / 0.6772 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3518/1.103, allocations: 135.8 MB / 0.8098 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/1.103, allocations: 46.19 kB / 0.8098 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.425e-06/1.103, allocations: 0 / 0.8098 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005332/1.108, allocations: 2.394 MB / 0.8122 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/1.108, allocations: 57.22 kB / 0.8122 GB, free: 276.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/1.109, allocations: 264.2 kB / 0.8125 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/1.109, allocations: 31.7 kB / 0.8125 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/1.109, allocations: 189.8 kB / 0.8127 GB, free: 276.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.109, allocations: 261.5 kB / 0.8129 GB, free: 276.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/1.109, allocations: 13.78 kB / 0.8129 GB, free: 276.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/1.109, allocations: 351.3 kB / 0.8133 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/1.109, allocations: 287 kB / 0.8136 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/1.11, allocations: 406 kB / 0.8139 GB, free: 275.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/1.11, allocations: 341.3 kB / 0.8143 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.11, allocations: 1.25 kB / 0.8143 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001238/1.112, allocations: 0.8187 MB / 0.8151 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.112, allocations: 6.875 kB / 0.8151 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.112, allocations: 3.375 kB / 0.8151 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/1.112, allocations: 66.48 kB / 0.8151 GB, free: 275 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/1.113, allocations: 150.5 kB / 0.8153 GB, free: 275 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07941/1.192, allocations: 25.08 MB / 0.8398 GB, free: 257.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/1.192, allocations: 55.95 kB / 0.8398 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/1.193, allocations: 16 kB / 0.8398 GB, free: 257.1 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 (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.0002213/1.193, allocations: 183.7 kB / 0.84 GB, free: 256.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/1.193, allocations: 58.19 kB / 0.8401 GB, free: 256.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/1.194, allocations: 1.737 MB / 0.8418 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/1.194, allocations: 10.48 kB / 0.8418 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.194, allocations: 4 kB / 0.8418 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/1.196, allocations: 1.322 MB / 0.8431 GB, free: 253.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/1.197, allocations: 1.777 MB / 0.8448 GB, free: 251.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.197, allocations: 0 / 0.8448 GB, free: 251.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/1.198, allocations: 83.88 kB / 0.8449 GB, free: 251.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003197/1.198, allocations: 179.1 kB / 0.8451 GB, free: 251.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.198, allocations: 7.938 kB / 0.8451 GB, free: 251.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009493/1.199, allocations: 2.483 MB / 0.8475 GB, free: 248.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.199, allocations: 32 / 0.8475 GB, free: 248.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/1.2, allocations: 1.42 MB / 0.8489 GB, free: 247.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/1.2, allocations: 136.4 kB / 0.849 GB, free: 247.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/1.201, allocations: 8 kB / 0.849 GB, free: 247.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/1.201, allocations: 43.97 kB / 0.8491 GB, free: 247.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/1.201, allocations: 48.56 kB / 0.8491 GB, free: 247.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/1.201, allocations: 8 kB / 0.8491 GB, free: 247.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001527/1.201, allocations: 223.1 kB / 0.8493 GB, free: 247 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.201, allocations: 3.938 kB / 0.8493 GB, free: 247 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006292/1.207, allocations: 3.187 MB / 0.8524 GB, free: 244.2 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 (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.01364/1.221, allocations: 5.843 MB / 0.8582 GB, free: 238.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001678/1.223, allocations: 1.041 MB / 0.8592 GB, free: 237.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.223, allocations: 0 / 0.8592 GB, free: 237.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005995/1.223, allocations: 0.5176 MB / 0.8597 GB, free: 237.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/1.225, allocations: 361.2 kB / 0.86 GB, free: 236.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007039/1.232, allocations: 4.362 MB / 0.8643 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/1.232, allocations: 0.8526 MB / 0.8651 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003543/1.233, allocations: 131.2 kB / 0.8652 GB, free: 231.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/1.233, allocations: 171.3 kB / 0.8654 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/1.233, allocations: 2.078 kB / 0.8654 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/1.37, allocations: 123.8 MB / 0.9863 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001193/1.37, allocations: 225.8 kB / 0.9865 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.148/7.518, allocations: 0 / 0.9865 GB, free: 107.1 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/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: