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.001825/0.001825, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002376/0.002376, allocations: 216.5 kB / 22.25 MB, free: 5.121 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.535/1.535, allocations: 207.6 MB / 233 MB, free: 9.984 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.05353/0.05353, allocations: 9.155 MB / 294.4 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.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",fmuType="me",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.002248/0.002248, allocations: 76.14 kB / 411.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06925/0.0715, allocations: 50.74 MB / 461.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3656/0.4371, allocations: 128.3 MB / 0.5763 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1262/0.5633, allocations: 109.9 MB / 0.6836 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000654/0.564, allocations: 7.938 kB / 0.6837 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.5667, allocations: 1.203 MB / 0.6848 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.5699, allocations: 1.256 MB / 0.6861 GB, free: 7.547 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.08543/0.6553, allocations: 30.68 MB / 0.716 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.6576, allocations: 1.386 MB / 0.7174 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.6579, allocations: 93.8 kB / 0.7175 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02227/0.6801, allocations: 12.4 MB / 0.7296 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008881/0.681, allocations: 382.5 kB / 0.7299 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.6812, allocations: 40 kB / 0.73 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3884/1.07, allocations: 34.55 MB / 0.7637 GB, free: 49.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003151/1.07, allocations: 127.6 kB / 0.7638 GB, free: 49.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006102/1.07, allocations: 304.7 kB / 0.7641 GB, free: 49.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04233/1.113, allocations: 14.18 MB / 0.778 GB, free: 48.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.113, allocations: 0 / 0.778 GB, free: 48.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/1.113, allocations: 4.188 kB / 0.778 GB, free: 48.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.671e-05/1.113, allocations: 0 / 0.778 GB, free: 48.69 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.006449/1.119, allocations: 2.6 MB / 0.7805 GB, free: 47.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.119, allocations: 14.64 kB / 0.7805 GB, free: 47.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.406e-05/1.119, allocations: 82.97 kB / 0.7806 GB, free: 47.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006014/1.12, allocations: 92.91 kB / 0.7807 GB, free: 47.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/1.12, allocations: 284.3 kB / 0.781 GB, free: 47.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/1.12, allocations: 30.69 kB / 0.781 GB, free: 47.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/1.121, allocations: 34.31 kB / 0.781 GB, free: 47.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/1.122, allocations: 0.6099 MB / 0.7816 GB, free: 46.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/1.122, allocations: 2.531 kB / 0.7816 GB, free: 46.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/1.122, allocations: 12.84 kB / 0.7816 GB, free: 46.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/1.122, allocations: 19.12 kB / 0.7817 GB, free: 46.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/1.123, allocations: 0.5582 MB / 0.7822 GB, free: 46.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/1.125, allocations: 2.529 MB / 0.7847 GB, free: 45.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.126, allocations: 492.6 kB / 0.7851 GB, free: 45.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/1.127, allocations: 313.5 kB / 0.7854 GB, free: 45.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1928/1.319, allocations: 43.9 MB / 0.8283 GB, free: 19.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/1.319, allocations: 38.66 kB / 0.8283 GB, free: 19.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 3.677e-06/1.319, allocations: 0 / 0.8283 GB, free: 19.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.005658/1.325, allocations: 2.239 MB / 0.8305 GB, free: 17.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/1.325, allocations: 57.94 kB / 0.8306 GB, free: 17.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/1.325, allocations: 251.9 kB / 0.8308 GB, free: 17.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/1.325, allocations: 37.52 kB / 0.8309 GB, free: 17.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/1.326, allocations: 187.8 kB / 0.831 GB, free: 17.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/1.326, allocations: 276.5 kB / 0.8313 GB, free: 17.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/1.326, allocations: 101.9 kB / 0.8314 GB, free: 17.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.856e-05/1.326, allocations: 358.3 kB / 0.8317 GB, free: 16.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/1.326, allocations: 274.6 kB / 0.832 GB, free: 16.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/1.327, allocations: 411.4 kB / 0.8324 GB, free: 16.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009827/1.328, allocations: 0.7225 MB / 0.8331 GB, free: 15.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.328, allocations: 0 / 0.8331 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001379/1.329, allocations: 0.8057 MB / 0.8339 GB, free: 15.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.329, allocations: 5.719 kB / 0.8339 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.329, allocations: 4 kB / 0.8339 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/1.329, allocations: 69.98 kB / 0.834 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/1.33, allocations: 99.5 kB / 0.8341 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06581/1.396, allocations: 17.02 MB / 0.8507 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/1.396, allocations: 31.59 kB / 0.8507 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/1.396, allocations: 17.62 kB / 0.8507 GB, free: 14.65 MB / 0.5606 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.0002924/1.396, allocations: 193 kB / 0.8509 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/1.397, allocations: 43.72 kB / 0.851 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/1.399, allocations: 1.586 MB / 0.8525 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/1.399, allocations: 13.59 kB / 0.8525 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.399, allocations: 4 kB / 0.8525 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001627/1.4, allocations: 1.172 MB / 0.8537 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/1.403, allocations: 1.609 MB / 0.8552 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.403, allocations: 0 / 0.8552 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/1.403, allocations: 84.06 kB / 0.8553 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/1.403, allocations: 44.53 kB / 0.8554 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/1.404, allocations: 13.34 kB / 0.8554 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/1.405, allocations: 1.318 MB / 0.8567 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.405, allocations: 0 / 0.8567 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/1.407, allocations: 1.219 MB / 0.8578 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/1.407, allocations: 39.66 kB / 0.8579 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/1.407, allocations: 7.938 kB / 0.8579 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/1.407, allocations: 23.84 kB / 0.8579 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.407, allocations: 47.55 kB / 0.858 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/1.407, allocations: 15.92 kB / 0.858 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002921/1.408, allocations: 242.1 kB / 0.8582 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.408, allocations: 4.062 kB / 0.8582 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0108/1.419, allocations: 3.577 MB / 0.8617 GB, free: 5.039 MB / 0.5606 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.02367/1.442, allocations: 6.243 MB / 0.8678 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002188/1.444, allocations: 0.9314 MB / 0.8687 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.444, allocations: 0 / 0.8687 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009989/1.445, allocations: 474.1 kB / 0.8692 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/1.447, allocations: 398.5 kB / 0.8695 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.464, allocations: 6.395 MB / 0.8758 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/1.464, allocations: 0.8548 MB / 0.8766 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005189/1.465, allocations: 168.9 kB / 0.8768 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/1.465, allocations: 163.5 kB / 0.8769 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of SimCode: time 6.72e-07/1.465, allocations: 8 kB / 0.8769 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4994/1.964, allocations: 133 MB / 1.007 GB, free: 241.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.56/20.53, allocations: 3.438 kB / 1.007 GB, free: 241.8 MB / 0.67 GB " [Timeout remaining time 639] (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 sys.exit(0), Time elapsed: 26.618698271922767] Failed to read output from testmodel.py, exit status != 0: 20.742612707894295 20.76299813 19.646218881 Calling exit ...