Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.001387/0.001387, allocations: 117.5 kB / 17.16 MB, free: 5.863 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.002004/0.002004, allocations: 209.5 kB / 20.13 MB, free: 2.922 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.39/1.39, allocations: 207.6 MB / 230.5 MB, free: 11.4 MB / 190.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.04974/0.04974, allocations: 9.159 MB / 291.5 MB, free: 13.88 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.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",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.002113/0.002113, allocations: 72.25 kB / 406.6 MB, free: 47.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08883, allocations: 50.72 MB / 457.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3567/0.4455, allocations: 128 MB / 0.5716 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1136/0.5591, allocations: 109.8 MB / 0.6788 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005709/0.5597, allocations: 15.94 kB / 0.6789 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.5622, allocations: 1.203 MB / 0.68 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.5648, allocations: 1.264 MB / 0.6813 GB, free: 9.371 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.07172/0.6365, allocations: 30.46 MB / 0.711 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002094/0.6386, allocations: 1.378 MB / 0.7124 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.6388, allocations: 81.73 kB / 0.7124 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01953/0.6584, allocations: 12.1 MB / 0.7243 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000603/0.659, allocations: 402.4 kB / 0.7246 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.659, allocations: 40 kB / 0.7247 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3546/1.014, allocations: 33.6 MB / 0.7575 GB, free: 50.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/1.014, allocations: 126.2 kB / 0.7576 GB, free: 50.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005613/1.014, allocations: 301.7 kB / 0.7579 GB, free: 50.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04244/1.057, allocations: 14.14 MB / 0.7717 GB, free: 49.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.057, allocations: 0 / 0.7717 GB, free: 49.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/1.057, allocations: 1.859 kB / 0.7717 GB, free: 49.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.788e-05/1.057, allocations: 0.5625 kB / 0.7717 GB, free: 49.91 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.007828/1.065, allocations: 2.677 MB / 0.7743 GB, free: 48.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.065, allocations: 7.031 kB / 0.7743 GB, free: 48.4 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.176e-05/1.065, allocations: 18.66 kB / 0.7744 GB, free: 48.4 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.582e-05/1.065, allocations: 81.86 kB / 0.7744 GB, free: 48.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006135/1.066, allocations: 90.17 kB / 0.7745 GB, free: 48.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/1.066, allocations: 342 kB / 0.7748 GB, free: 48.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/1.066, allocations: 34.69 kB / 0.7749 GB, free: 48.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/1.066, allocations: 31.91 kB / 0.7749 GB, free: 48.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/1.067, allocations: 0.5965 MB / 0.7755 GB, free: 48.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.067, allocations: 0 / 0.7755 GB, free: 48.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/1.067, allocations: 19.41 kB / 0.7755 GB, free: 48.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/1.067, allocations: 15.16 kB / 0.7755 GB, free: 48.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/1.069, allocations: 0.5512 MB / 0.7761 GB, free: 48.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/1.071, allocations: 2.555 MB / 0.7786 GB, free: 46.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/1.072, allocations: 478.4 kB / 0.779 GB, free: 46.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004655/1.073, allocations: 302 kB / 0.7793 GB, free: 46.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2416/1.314, allocations: 139 MB / 0.915 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.673e-05/1.314, allocations: 42.11 kB / 0.9151 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=79): time 3.517e-06/1.314, allocations: 0 / 0.9151 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83): time 0.006034/1.32, allocations: 2.333 MB / 0.9173 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/1.32, allocations: 58.61 kB / 0.9174 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/1.321, allocations: 251.2 kB / 0.9176 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/1.321, allocations: 33.58 kB / 0.9177 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.321, allocations: 187.5 kB / 0.9179 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/1.321, allocations: 284.1 kB / 0.9181 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/1.321, allocations: 101.6 kB / 0.9182 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.321, allocations: 351.8 kB / 0.9186 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/1.322, allocations: 267.2 kB / 0.9188 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/1.322, allocations: 402 kB / 0.9192 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.323, allocations: 0.6987 MB / 0.9199 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.323, allocations: 4 kB / 0.9199 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001436/1.325, allocations: 0.7831 MB / 0.9206 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.325, allocations: 8.031 kB / 0.9207 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.325, allocations: 9.859 kB / 0.9207 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000267/1.325, allocations: 61.3 kB / 0.9207 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/1.325, allocations: 100.7 kB / 0.9208 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07134/1.397, allocations: 17.21 MB / 0.9376 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/1.397, allocations: 31.72 kB / 0.9377 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/1.397, allocations: 12 kB / 0.9377 GB, free: 10.34 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 prepare postOptimizeDAE: time 0.0003026/1.397, allocations: 193 kB / 0.9378 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/1.398, allocations: 39.77 kB / 0.9379 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/1.4, allocations: 1.553 MB / 0.9394 GB, free: 9.059 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/1.4, allocations: 7.938 kB / 0.9394 GB, free: 9.055 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.4, allocations: 4 kB / 0.9394 GB, free: 9.051 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001478/1.401, allocations: 1.135 MB / 0.9405 GB, free: 8.094 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/1.403, allocations: 1.592 MB / 0.9421 GB, free: 6.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.403, allocations: 0 / 0.9421 GB, free: 6.938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/1.404, allocations: 84.56 kB / 0.9422 GB, free: 6.863 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/1.404, allocations: 44.77 kB / 0.9422 GB, free: 6.82 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/1.404, allocations: 11.62 kB / 0.9422 GB, free: 6.816 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/1.405, allocations: 1.429 MB / 0.9436 GB, free: 5.336 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.405, allocations: 0 / 0.9436 GB, free: 5.336 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/1.407, allocations: 1.183 MB / 0.9448 GB, free: 4.508 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/1.407, allocations: 112.9 kB / 0.9449 GB, free: 4.379 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/1.407, allocations: 15.67 kB / 0.9449 GB, free: 4.371 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/1.408, allocations: 19.8 kB / 0.9449 GB, free: 4.355 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.408, allocations: 50.38 kB / 0.945 GB, free: 4.316 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/1.408, allocations: 23.67 kB / 0.945 GB, free: 4.297 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002658/1.408, allocations: 244.7 kB / 0.9452 GB, free: 4.102 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.408, allocations: 1.75 kB / 0.9452 GB, free: 4.102 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01079/1.419, allocations: 3.574 MB / 0.9487 GB, free: 0.6289 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02279/1.442, allocations: 6.217 MB / 0.9548 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001997/1.444, allocations: 0.9067 MB / 0.9557 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.444, allocations: 0 / 0.9557 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008644/1.444, allocations: 470.6 kB / 0.9561 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.447, allocations: 399.1 kB / 0.9565 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/1.461, allocations: 6.319 MB / 0.9627 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/1.462, allocations: 0.8526 MB / 0.9635 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004937/1.462, allocations: 169.5 kB / 0.9637 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/1.462, allocations: 165.8 kB / 0.9638 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of SimCode: time 8.51e-07/1.462, allocations: 0 / 0.9638 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.431/1.893, allocations: 132.5 MB / 1.093 GB, free: 245.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.87/18.76, allocations: 7.906 kB / 1.093 GB, free: 245.9 MB / 0.6856 GB " [Timeout remaining time 641] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.447152262961026] Failed to read output from testmodel.py, exit status != 0: 18.986118711007293 18.995480844 17.936340466 Calling exit ...