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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.001857/0.001857, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.615/1.615, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.05154/0.05154, allocations: 9.151 MB / 290.8 MB, free: 13.91 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.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"}) [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.002158/0.002158, allocations: 71.48 kB / 405.9 MB, free: 47.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.09241, allocations: 50.71 MB / 456.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.4275/0.5199, allocations: 129 MB / 0.5719 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1294/0.6493, allocations: 111.3 MB / 0.6806 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007108/0.65, allocations: 7.938 kB / 0.6806 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.6538, allocations: 1.551 MB / 0.6821 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.6587, allocations: 1.83 MB / 0.6839 GB, free: 6.074 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.0944/0.7532, allocations: 31.04 MB / 0.7142 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002618/0.7558, allocations: 1.402 MB / 0.7155 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.7561, allocations: 85.73 kB / 0.7156 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02043/0.7765, allocations: 10.7 MB / 0.7261 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006594/0.7771, allocations: 390.4 kB / 0.7264 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.7772, allocations: 44 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3746/1.152, allocations: 34.96 MB / 0.7606 GB, free: 49.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/1.152, allocations: 126.8 kB / 0.7608 GB, free: 49.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005907/1.153, allocations: 302.1 kB / 0.761 GB, free: 49.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04859/1.201, allocations: 13.97 MB / 0.7747 GB, free: 48.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.201, allocations: 0 / 0.7747 GB, free: 48.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/1.201, allocations: 3.562 kB / 0.7747 GB, free: 48.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.948e-06/1.201, allocations: 0 / 0.7747 GB, free: 48.71 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.007333/1.209, allocations: 2.677 MB / 0.7773 GB, free: 47.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.209, allocations: 10.81 kB / 0.7773 GB, free: 47.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.257e-05/1.209, allocations: 84.02 kB / 0.7774 GB, free: 47.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005967/1.209, allocations: 87.44 kB / 0.7775 GB, free: 47.13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/1.21, allocations: 343.7 kB / 0.7778 GB, free: 46.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/1.21, allocations: 29.12 kB / 0.7778 GB, free: 46.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/1.21, allocations: 39.16 kB / 0.7779 GB, free: 46.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/1.211, allocations: 0.5959 MB / 0.7784 GB, free: 46.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/1.211, allocations: 7.562 kB / 0.7785 GB, free: 46.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/1.211, allocations: 14.81 kB / 0.7785 GB, free: 46.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/1.211, allocations: 16.72 kB / 0.7785 GB, free: 46.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/1.212, allocations: 0.5512 MB / 0.779 GB, free: 46.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/1.215, allocations: 2.455 MB / 0.7814 GB, free: 45.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009415/1.216, allocations: 466.8 kB / 0.7819 GB, free: 45.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/1.216, allocations: 306.8 kB / 0.7822 GB, free: 45.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2611/1.477, allocations: 139 MB / 0.9179 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/1.477, allocations: 39.53 kB / 0.9179 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=77): time 3.527e-06/1.477, allocations: 0 / 0.9179 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.006197/1.483, allocations: 2.358 MB / 0.9202 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/1.483, allocations: 57.19 kB / 0.9203 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/1.484, allocations: 257.2 kB / 0.9205 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/1.484, allocations: 34.84 kB / 0.9206 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/1.484, allocations: 203 kB / 0.9208 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/1.484, allocations: 276.8 kB / 0.921 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/1.484, allocations: 96.3 kB / 0.9211 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.484, allocations: 351.2 kB / 0.9214 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/1.485, allocations: 279.3 kB / 0.9217 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/1.486, allocations: 390.1 kB / 0.9221 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.487, allocations: 0.6922 MB / 0.9228 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.487, allocations: 4 kB / 0.9228 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001507/1.488, allocations: 0.7991 MB / 0.9235 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.488, allocations: 8.766 kB / 0.9236 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.488, allocations: 4.375 kB / 0.9236 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/1.488, allocations: 63.11 kB / 0.9236 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/1.489, allocations: 145.6 kB / 0.9238 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07157/1.561, allocations: 18.42 MB / 0.9417 GB, free: 6.461 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/1.561, allocations: 31.78 kB / 0.9418 GB, free: 6.438 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/1.561, allocations: 19.92 kB / 0.9418 GB, free: 6.422 MB / 0.67 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 (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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 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.0003393/1.562, allocations: 187.5 kB / 0.942 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.562, allocations: 47.66 kB / 0.942 GB, free: 6.227 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/1.564, allocations: 1.7 MB / 0.9437 GB, free: 5.039 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/1.564, allocations: 6.031 kB / 0.9437 GB, free: 5.035 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.564, allocations: 0 / 0.9437 GB, free: 5.035 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001658/1.566, allocations: 1.291 MB / 0.9449 GB, free: 3.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/1.568, allocations: 1.73 MB / 0.9466 GB, free: 2.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.568, allocations: 2.156 kB / 0.9466 GB, free: 2.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/1.569, allocations: 77.8 kB / 0.9467 GB, free: 2.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000345/1.569, allocations: 162.6 kB / 0.9469 GB, free: 2.547 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/1.569, allocations: 11.75 kB / 0.9469 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/1.571, allocations: 2.569 MB / 0.9494 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.571, allocations: 9.859 kB / 0.9494 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/1.573, allocations: 1.367 MB / 0.9507 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/1.573, allocations: 128.7 kB / 0.9509 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/1.573, allocations: 11.5 kB / 0.9509 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/1.574, allocations: 23.47 kB / 0.9509 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.574, allocations: 43.38 kB / 0.9509 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/1.574, allocations: 11.69 kB / 0.9509 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000258/1.574, allocations: 227.7 kB / 0.9512 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/1.574, allocations: 0 / 0.9512 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01091/1.585, allocations: 3.571 MB / 0.9546 GB, free: 11.12 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02293/1.608, allocations: 6.187 MB / 0.9607 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002601/1.611, allocations: 0.9998 MB / 0.9617 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.611, allocations: 0 / 0.9617 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008625/1.611, allocations: 495.9 kB / 0.9621 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/1.613, allocations: 402 kB / 0.9625 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2468/1.86, allocations: 6.268 MB / 0.9686 GB, free: 344.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/1.861, allocations: 0.851 MB / 0.9695 GB, free: 344.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006051/1.861, allocations: 136.9 kB / 0.9696 GB, free: 344.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/1.861, allocations: 168 kB / 0.9698 GB, free: 344.2 MB / 0.6856 GB Notification: Performance of SimCode: time 1.132e-06/1.861, allocations: 0 / 0.9698 GB, free: 344.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.209/2.07, allocations: 133.2 MB / 1.1 GB, free: 239.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17/19.07, allocations: 8.719 kB / 1.1 GB, free: 239.6 MB / 0.6856 GB " [Timeout remaining time 641] (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/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.073513568844646] Failed to read output from testmodel.py, exit status != 0: 19.247492568101734 19.263801094 18.059034151 Calling exit ...