Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 113.8 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04976/0.04976, allocations: 9.162 MB / 295.2 MB, free: 12.7 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 71.16 kB / 411.9 MB, free: 46.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07328/0.07534, allocations: 50.75 MB / 462.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.3142/0.3895, allocations: 129.5 MB / 0.5783 GB, free: 160 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1081/0.4976, allocations: 111.4 MB / 0.6871 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004666/0.4981, allocations: 7.938 kB / 0.6871 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.501, allocations: 1.555 MB / 0.6886 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.5046, allocations: 1.829 MB / 0.6904 GB, free: 3.852 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.07319/0.5778, allocations: 31.51 MB / 0.7212 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.5797, allocations: 1.421 MB / 0.7226 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.58, allocations: 93.89 kB / 0.7227 GB, free: 2.719 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:620:5-620:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01755/0.5975, allocations: 10.14 MB / 0.7326 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008029/0.5983, allocations: 390.4 kB / 0.7329 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.5985, allocations: 44 kB / 0.733 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3204/0.9188, allocations: 36.66 MB / 0.7688 GB, free: 47.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.9191, allocations: 123.7 kB / 0.7689 GB, free: 47.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005118/0.9196, allocations: 307.5 kB / 0.7692 GB, free: 47.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.035/0.9546, allocations: 14.16 MB / 0.783 GB, free: 46.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.9546, allocations: 3.219 kB / 0.783 GB, free: 46.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9546, allocations: 0 / 0.783 GB, free: 46.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.9546, allocations: 0 / 0.783 GB, free: 46.73 MB / 0.545 GB 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.006165/0.9608, allocations: 2.602 MB / 0.7856 GB, free: 45.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.9608, allocations: 15.88 kB / 0.7856 GB, free: 45.31 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.894e-05/0.9608, allocations: 8.875 kB / 0.7856 GB, free: 45.31 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.108e-05/0.9609, allocations: 88.72 kB / 0.7857 GB, free: 45.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/0.9615, allocations: 83.73 kB / 0.7858 GB, free: 45.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.9618, allocations: 283.9 kB / 0.786 GB, free: 45.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.9619, allocations: 34.69 kB / 0.7861 GB, free: 45.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.543e-05/0.9619, allocations: 32.69 kB / 0.7861 GB, free: 45.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.963, allocations: 0.6172 MB / 0.7867 GB, free: 44.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.963, allocations: 0 / 0.7867 GB, free: 44.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.9631, allocations: 12.19 kB / 0.7867 GB, free: 44.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.9631, allocations: 20.06 kB / 0.7867 GB, free: 44.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.9642, allocations: 0.5624 MB / 0.7873 GB, free: 44.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.9662, allocations: 2.478 MB / 0.7897 GB, free: 43.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.9672, allocations: 480.6 kB / 0.7902 GB, free: 43.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.9676, allocations: 317.5 kB / 0.7905 GB, free: 43.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1852/1.153, allocations: 43.91 MB / 0.8333 GB, free: 16.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/1.153, allocations: 38.66 kB / 0.8334 GB, free: 16.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 2.535e-06/1.153, allocations: 0 / 0.8334 GB, free: 16.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.005338/1.158, allocations: 2.234 MB / 0.8356 GB, free: 14.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/1.158, allocations: 55.41 kB / 0.8356 GB, free: 14.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/1.158, allocations: 264.1 kB / 0.8359 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/1.158, allocations: 33.39 kB / 0.8359 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/1.158, allocations: 194.3 kB / 0.8361 GB, free: 14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/1.159, allocations: 271.5 kB / 0.8363 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/1.159, allocations: 99.98 kB / 0.8364 GB, free: 13.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.08e-05/1.159, allocations: 356.4 kB / 0.8368 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/1.159, allocations: 287.1 kB / 0.837 GB, free: 13.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/1.16, allocations: 392.3 kB / 0.8374 GB, free: 12.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008817/1.161, allocations: 0.6993 MB / 0.8381 GB, free: 12.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.161, allocations: 0.8438 kB / 0.8381 GB, free: 12.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001208/1.162, allocations: 0.8107 MB / 0.8389 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.162, allocations: 10 kB / 0.8389 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.162, allocations: 4 kB / 0.8389 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/1.162, allocations: 64.84 kB / 0.839 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/1.163, allocations: 127.7 kB / 0.8391 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06723/1.23, allocations: 19.24 MB / 0.8579 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/1.23, allocations: 35.81 kB / 0.8579 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/1.23, allocations: 15.62 kB / 0.8579 GB, free: 8.914 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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.0003034/1.231, allocations: 186.7 kB / 0.8581 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.231, allocations: 43.72 kB / 0.8582 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/1.233, allocations: 1.707 MB / 0.8598 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/1.233, allocations: 18.34 kB / 0.8598 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.233, allocations: 4 kB / 0.8598 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001629/1.235, allocations: 1.281 MB / 0.8611 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/1.237, allocations: 1.722 MB / 0.8628 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.237, allocations: 4 kB / 0.8628 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/1.238, allocations: 76.72 kB / 0.8629 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/1.238, allocations: 101 kB / 0.8629 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/1.238, allocations: 19.67 kB / 0.863 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/1.24, allocations: 1.895 MB / 0.8648 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.24, allocations: 0 / 0.8648 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/1.242, allocations: 1.336 MB / 0.8661 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/1.242, allocations: 53.48 kB / 0.8662 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/1.242, allocations: 8.812 kB / 0.8662 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/1.242, allocations: 27.03 kB / 0.8662 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.242, allocations: 42.05 kB / 0.8662 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/1.242, allocations: 14.3 kB / 0.8663 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002478/1.243, allocations: 220.8 kB / 0.8665 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.243, allocations: 7.891 kB / 0.8665 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01022/1.253, allocations: 3.573 MB / 0.87 GB, free: 14.41 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02275/1.276, allocations: 6.318 MB / 0.8761 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002787/1.278, allocations: 0.9925 MB / 0.8771 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.278, allocations: 0 / 0.8771 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009302/1.279, allocations: 485.5 kB / 0.8776 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/1.281, allocations: 397.5 kB / 0.878 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.296, allocations: 6.326 MB / 0.8841 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/1.297, allocations: 0.8527 MB / 0.885 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004846/1.297, allocations: 143.5 kB / 0.8851 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/1.297, allocations: 169.9 kB / 0.8853 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/1.297, allocations: 0 / 0.8853 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4408/1.738, allocations: 133.6 MB / 1.016 GB, free: 241.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.33/20.07, allocations: 3.094 kB / 1.016 GB, free: 241.3 MB / 0.67 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 72.77051480300725] Failed to read output from testmodel.py, exit status != 0: 20.338944307062775 20.358219589 19.400123224 Calling exit ...