Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.471/1.471, allocations: 207.6 MB / 229.8 MB, free: 4.258 MB / 174.1 MB " [Timeout remaining time 178] 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.05215/0.05215, allocations: 9.147 MB / 290.8 MB, free: 7.316 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.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.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002323/0.002323, allocations: 71.88 kB / 405.8 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2544, allocations: 50.71 MB / 456.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02043/0.2749, allocations: 17.97 MB / 474.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03617/0.311, allocations: 32.27 MB / 0.4949 GB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.3112, allocations: 3.938 kB / 0.4949 GB, free: 5.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.3124, allocations: 478 kB / 0.4953 GB, free: 5.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.3129, allocations: 147.1 kB / 0.4955 GB, free: 4.938 MB / 366.1 MB [/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.02514/0.338, allocations: 9.988 MB / 0.5052 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005536/0.3386, allocations: 386.5 kB / 0.5056 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.3386, allocations: 16.34 kB / 0.5056 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.339, allocations: 171.4 kB / 0.5058 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.3392, allocations: 115.5 kB / 0.5059 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.3392, allocations: 16 kB / 0.5059 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02135/0.3606, allocations: 11.63 MB / 0.5173 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-05/0.3607, allocations: 39.83 kB / 0.5173 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.3608, allocations: 107.5 kB / 0.5174 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01345/0.3743, allocations: 4.766 MB / 0.522 GB, free: 9.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3743, allocations: 0 / 0.522 GB, free: 9.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3743, allocations: 0 / 0.522 GB, free: 9.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.3743, allocations: 0 / 0.522 GB, free: 9.641 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002738/0.377, allocations: 1.18 MB / 0.5232 GB, free: 8.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3771, allocations: 8.031 kB / 0.5232 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.009e-05/0.3772, allocations: 50.55 kB / 0.5233 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.3774, allocations: 31.84 kB / 0.5233 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.3778, allocations: 222.7 kB / 0.5235 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.3778, allocations: 11.94 kB / 0.5235 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.3778, allocations: 12 kB / 0.5235 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.3785, allocations: 275.3 kB / 0.5238 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3785, allocations: 0 / 0.5238 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.3786, allocations: 4 kB / 0.5238 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.3786, allocations: 7.984 kB / 0.5238 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/0.3792, allocations: 228 kB / 0.524 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.3806, allocations: 1.083 MB / 0.5251 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.3811, allocations: 218.3 kB / 0.5253 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.3814, allocations: 147.2 kB / 0.5254 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09449/0.4759, allocations: 46.25 MB / 0.5706 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/0.476, allocations: 38.5 kB / 0.5706 GB, free: 15.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.675e-06/0.476, allocations: 0 / 0.5706 GB, free: 15.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001651/0.4776, allocations: 464.4 kB / 0.5711 GB, free: 15.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.4777, allocations: 136.8 kB / 0.5712 GB, free: 15.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.4779, allocations: 176 kB / 0.5714 GB, free: 14.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.478, allocations: 33.64 kB / 0.5714 GB, free: 14.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.4781, allocations: 124.5 kB / 0.5715 GB, free: 14.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.4781, allocations: 91.22 kB / 0.5716 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.4782, allocations: 37.7 kB / 0.5716 GB, free: 14.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4784, allocations: 338.8 kB / 0.572 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.4787, allocations: 107.9 kB / 0.5721 GB, free: 14.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.479, allocations: 161.9 kB / 0.5722 GB, free: 14.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.4796, allocations: 287.3 kB / 0.5725 GB, free: 13.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4796, allocations: 0 / 0.5725 GB, free: 13.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007468/0.4803, allocations: 322.1 kB / 0.5728 GB, free: 13.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4803, allocations: 7.984 kB / 0.5728 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4803, allocations: 4 kB / 0.5728 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4804, allocations: 0 / 0.5728 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.4806, allocations: 51.89 kB / 0.5729 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4806, allocations: 4 kB / 0.5729 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.4808, allocations: 35.91 kB / 0.5729 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.4809, allocations: 11.98 kB / 0.5729 GB, free: 13.28 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.481, allocations: 133.8 kB / 0.573 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.4811, allocations: 23.8 kB / 0.5731 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006637/0.4818, allocations: 353 kB / 0.5734 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.4818, allocations: 11.98 kB / 0.5734 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4818, allocations: 0 / 0.5734 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4818, allocations: 7.938 kB / 0.5734 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.4824, allocations: 317.8 kB / 0.5737 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4824, allocations: 4 kB / 0.5737 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.4826, allocations: 43.89 kB / 0.5738 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.4826, allocations: 4 kB / 0.5738 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4826, allocations: 0 / 0.5738 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.4826, allocations: 7.984 kB / 0.5738 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4826, allocations: 4 kB / 0.5738 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.4834, allocations: 0.6353 MB / 0.5744 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.4835, allocations: 100.9 kB / 0.5745 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.4836, allocations: 4.188 kB / 0.5745 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.4839, allocations: 19.97 kB / 0.5745 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.484, allocations: 35.78 kB / 0.5746 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.484, allocations: 8 kB / 0.5746 GB, free: 11.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.4841, allocations: 128.1 kB / 0.5747 GB, free: 11.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4841, allocations: 0 / 0.5747 GB, free: 11.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002272/0.4863, allocations: 0.81 MB / 0.5755 GB, free: 10.55 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004705/0.4911, allocations: 2.284 MB / 0.5777 GB, free: 8.238 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007527/0.4918, allocations: 267.7 kB / 0.578 GB, free: 7.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.4918, allocations: 4 kB / 0.578 GB, free: 7.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.4922, allocations: 140.3 kB / 0.5781 GB, free: 7.836 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008773/0.493, allocations: 103.5 kB / 0.5782 GB, free: 7.738 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/0.4978, allocations: 3.035 MB / 0.5812 GB, free: 4.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.4982, allocations: 0.7402 MB / 0.5819 GB, free: 3.805 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.4984, allocations: 52.44 kB / 0.5819 GB, free: 3.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.4986, allocations: 63.41 kB / 0.582 GB, free: 3.691 MB / 462.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4986, allocations: 0 / 0.582 GB, free: 3.691 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2733/0.7719, allocations: 27.1 MB / 0.6085 GB, free: 138.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.101/9.872, allocations: 5 kB / 0.6085 GB, free: 138.4 MB / 478.1 MB " [Timeout remaining time 650] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep.fmu > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.216102271806449] Failed to read output from testmodel.py, exit status != 0: 9.954402974806726 9.96483678 9.588227804 Calling exit ...