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.0009381/0.000938, allocations: 99.78 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.0009707/0.0009708, allocations: 177.3 kB / 15.95 MB, free: 216 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.381/1.381, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04139/0.04139, allocations: 9.063 MB / 279.4 MB, free: 12.27 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.0004749/0.0004749, allocations: 16 kB / 339.2 MB, free: 25.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08391/0.0844, allocations: 49.19 MB / 388.4 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2732/0.3576, allocations: 106.5 MB / 494.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.07743/0.4351, allocations: 88.46 MB / 0.5696 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006053/0.4358, allocations: 7.938 kB / 0.5697 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.4385, allocations: 1.129 MB / 0.5708 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003016/0.4416, allocations: 1.293 MB / 0.572 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2714/0.713, allocations: 22.33 MB / 0.5938 GB, free: 16.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.7143, allocations: 0.7826 MB / 0.5946 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.7145, allocations: 92.95 kB / 0.5947 GB, free: 16.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01791/0.7324, allocations: 10.33 MB / 0.6048 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.7328, allocations: 259 kB / 0.605 GB, free: 16.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.7328, allocations: 19.38 kB / 0.605 GB, free: 16.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04132/0.7741, allocations: 24.57 MB / 0.629 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.7744, allocations: 90.09 kB / 0.6291 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.7747, allocations: 144.5 kB / 0.6293 GB, free: 16.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01467/0.7894, allocations: 6.389 MB / 0.6355 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.7894, allocations: 0 / 0.6355 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7895, allocations: 3.469 kB / 0.6355 GB, free: 14.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.7895, allocations: 4 kB / 0.6355 GB, free: 14.3 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.004569/0.794, allocations: 1.996 MB / 0.6374 GB, free: 12.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.7941, allocations: 9.156 kB / 0.6375 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.648e-05/0.7942, allocations: 85.3 kB / 0.6375 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.7948, allocations: 88.23 kB / 0.6376 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.7951, allocations: 322.8 kB / 0.6379 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.7952, allocations: 30.5 kB / 0.638 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.7952, allocations: 42.42 kB / 0.638 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.7963, allocations: 0.6085 MB / 0.6386 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.7963, allocations: 1.25 kB / 0.6386 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.7964, allocations: 16.41 kB / 0.6386 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.7964, allocations: 15.94 kB / 0.6386 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.7975, allocations: 0.5687 MB / 0.6392 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.7998, allocations: 2.482 MB / 0.6416 GB, free: 26.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008722/0.8007, allocations: 0.4888 MB / 0.6421 GB, free: 25.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2215/1.022, allocations: 136.2 MB / 0.7751 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/1.022, allocations: 33.31 kB / 0.7751 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=77): time 2.905e-06/1.022, allocations: 0 / 0.7751 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.00586/1.028, allocations: 2.711 MB / 0.7778 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/1.028, allocations: 58.22 kB / 0.7778 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/1.028, allocations: 265.7 kB / 0.7781 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/1.028, allocations: 28.33 kB / 0.7781 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/1.029, allocations: 192.9 kB / 0.7783 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/1.029, allocations: 266.9 kB / 0.7785 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/1.029, allocations: 6.125 kB / 0.7785 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.029, allocations: 352.6 kB / 0.7789 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/1.029, allocations: 290.9 kB / 0.7792 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/1.03, allocations: 400.3 kB / 0.7795 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/1.03, allocations: 335.4 kB / 0.7799 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.03, allocations: 4 kB / 0.7799 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001343/1.032, allocations: 0.8177 MB / 0.7807 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.032, allocations: 4 kB / 0.7807 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.032, allocations: 4.375 kB / 0.7807 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/1.032, allocations: 64.98 kB / 0.7807 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/1.033, allocations: 150.1 kB / 0.7809 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3071/1.34, allocations: 23.8 MB / 0.8041 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/1.34, allocations: 59.75 kB / 0.8042 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/1.341, allocations: 20.09 kB / 0.8042 GB, free: 183.1 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.0002691/1.341, allocations: 188.9 kB / 0.8044 GB, free: 183 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/1.341, allocations: 44.44 kB / 0.8044 GB, free: 183 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/1.343, allocations: 1.74 MB / 0.8061 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.343, allocations: 15.89 kB / 0.8061 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.343, allocations: 5.719 kB / 0.8061 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001306/1.344, allocations: 1.317 MB / 0.8074 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/1.346, allocations: 1.779 MB / 0.8092 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.346, allocations: 4 kB / 0.8092 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/1.347, allocations: 81.69 kB / 0.8092 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/1.347, allocations: 181 kB / 0.8094 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/1.347, allocations: 12.83 kB / 0.8094 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/1.348, allocations: 2.473 MB / 0.8118 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.348, allocations: 1.125 kB / 0.8118 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/1.35, allocations: 1.417 MB / 0.8132 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.35, allocations: 139.1 kB / 0.8134 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/1.35, allocations: 7.938 kB / 0.8134 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/1.35, allocations: 46.08 kB / 0.8134 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.351, allocations: 52.34 kB / 0.8135 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/1.351, allocations: 16.88 kB / 0.8135 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002027/1.351, allocations: 223.3 kB / 0.8137 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.351, allocations: 0 / 0.8137 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008918/1.36, allocations: 3.18 MB / 0.8168 GB, free: 178.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 (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.01833/1.378, allocations: 5.725 MB / 0.8224 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00198/1.38, allocations: 1.03 MB / 0.8234 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/1.38, allocations: 7.641 kB / 0.8234 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00078/1.381, allocations: 0.5107 MB / 0.8239 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/1.383, allocations: 336.6 kB / 0.8242 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009934/1.392, allocations: 6.187 MB / 0.8303 GB, free: 173.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/1.393, allocations: 0.868 MB / 0.8311 GB, free: 173 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004393/1.393, allocations: 135.6 kB / 0.8312 GB, free: 173 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/1.393, allocations: 166 kB / 0.8314 GB, free: 173 MB / 0.5919 GB Notification: Performance of SimCode: time 1.233e-06/1.393, allocations: 0 / 0.8314 GB, free: 173 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1513/1.545, allocations: 123.7 MB / 0.9522 GB, free: 59.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/1.545, allocations: 229.5 kB / 0.9524 GB, free: 59.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.4/6.945, allocations: 0 / 0.9524 GB, free: 59.01 MB / 0.5919 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/linux/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) Environment - environmentSimulation: