Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.001385/0.001385, allocations: 105.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.001502/0.001502, 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.54/1.54, allocations: 207.6 MB / 229.8 MB, free: 4.25 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.0485/0.0485, allocations: 9.148 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.MediaTestModels.ButaneTestModel_dT_component_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph",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.002162/0.002162, allocations: 82.38 kB / 405.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2275, allocations: 50.71 MB / 456.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.1545/0.382, allocations: 142.7 MB / 0.5852 GB, free: 8.754 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.3178/0.6998, allocations: 97.89 MB / 0.6808 GB, free: 24 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006286/0.7005, allocations: 5.375 kB / 0.6808 GB, free: 24 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002951/0.7034, allocations: 1.555 MB / 0.6823 GB, free: 4 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003293/0.7067, allocations: 1.825 MB / 0.6841 GB, free: 15.95 MB / 494.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.07374/0.7805, allocations: 31.36 MB / 0.7147 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002018/0.7825, allocations: 1.414 MB / 0.7161 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.7827, allocations: 90.09 kB / 0.7162 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01627/0.7989, allocations: 10.05 MB / 0.726 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005198/0.7995, allocations: 389.6 kB / 0.7264 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.7995, allocations: 44 kB / 0.7264 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05526/0.8548, allocations: 31.86 MB / 0.7575 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.855, allocations: 122.6 kB / 0.7576 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005268/0.8556, allocations: 316.3 kB / 0.7579 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.03992/0.8955, allocations: 12.68 MB / 0.7703 GB, free: 11.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.8955, allocations: 0 / 0.7703 GB, free: 11.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8955, allocations: 0 / 0.7703 GB, free: 11.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.8955, allocations: 0 / 0.7703 GB, free: 11.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.005889/0.9014, allocations: 2.382 MB / 0.7727 GB, free: 9.285 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.9015, allocations: 8.031 kB / 0.7727 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.567e-05/0.9016, allocations: 86.45 kB / 0.7728 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005403/0.9021, allocations: 87.62 kB / 0.7728 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.9027, allocations: 340.7 kB / 0.7732 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.9027, allocations: 32.66 kB / 0.7732 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.9028, allocations: 32 kB / 0.7732 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.904, allocations: 0.597 MB / 0.7738 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.904, allocations: 0 / 0.7738 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.9041, allocations: 16 kB / 0.7738 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.9041, allocations: 12 kB / 0.7738 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.9053, allocations: 0.5259 MB / 0.7743 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.908, allocations: 2.497 MB / 0.7768 GB, free: 4.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.9091, allocations: 470.8 kB / 0.7772 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/0.9096, allocations: 302.3 kB / 0.7775 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3758/1.285, allocations: 121.9 MB / 0.8965 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.285, allocations: 42.19 kB / 0.8966 GB, free: 226.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 2.455e-06/1.285, allocations: 0 / 0.8966 GB, free: 226.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.004698/1.29, allocations: 2.41 MB / 0.8989 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/1.29, allocations: 55.41 kB / 0.899 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/1.29, allocations: 262.8 kB / 0.8992 GB, free: 225.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/1.29, allocations: 33.7 kB / 0.8992 GB, free: 225.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/1.29, allocations: 189.9 kB / 0.8994 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/1.291, allocations: 274.6 kB / 0.8997 GB, free: 224.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-05/1.291, allocations: 102.1 kB / 0.8998 GB, free: 224.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/1.291, allocations: 358.8 kB / 0.9001 GB, free: 224.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/1.291, allocations: 272.5 kB / 0.9004 GB, free: 224 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/1.291, allocations: 396.3 kB / 0.9008 GB, free: 223.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007874/1.292, allocations: 0.7001 MB / 0.9015 GB, free: 222.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.292, allocations: 7.75 kB / 0.9015 GB, free: 222.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001127/1.293, allocations: 0.7992 MB / 0.9022 GB, free: 222 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/1.293, allocations: 4 kB / 0.9022 GB, free: 222 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.293, allocations: 4 kB / 0.9022 GB, free: 222 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004443/1.294, allocations: 107.8 kB / 0.9023 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/1.294, allocations: 107.8 kB / 0.9025 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06044/1.355, allocations: 19.2 MB / 0.9212 GB, free: 202.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/1.355, allocations: 27.97 kB / 0.9212 GB, free: 202.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/1.355, allocations: 20 kB / 0.9212 GB, free: 202.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 40 * 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, 2} * 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.0002053/1.355, allocations: 188.1 kB / 0.9214 GB, free: 202 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/1.355, allocations: 47.78 kB / 0.9215 GB, free: 202 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/1.357, allocations: 1.686 MB / 0.9231 GB, free: 200.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.357, allocations: 11.98 kB / 0.9231 GB, free: 200.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.357, allocations: 0.8125 kB / 0.9231 GB, free: 200.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/1.358, allocations: 1.261 MB / 0.9244 GB, free: 198.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/1.36, allocations: 1.719 MB / 0.926 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.36, allocations: 0 / 0.926 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/1.36, allocations: 83.91 kB / 0.9261 GB, free: 197 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/1.36, allocations: 182.4 kB / 0.9263 GB, free: 196.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/1.36, allocations: 23.92 kB / 0.9263 GB, free: 196.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009834/1.361, allocations: 2.587 MB / 0.9288 GB, free: 194 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.361, allocations: 0 / 0.9288 GB, free: 194 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/1.363, allocations: 1.434 MB / 0.9302 GB, free: 192.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/1.363, allocations: 129.2 kB / 0.9304 GB, free: 192.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/1.363, allocations: 8 kB / 0.9304 GB, free: 192.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/1.363, allocations: 27.97 kB / 0.9304 GB, free: 192.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/1.363, allocations: 47.95 kB / 0.9304 GB, free: 192.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/1.364, allocations: 11.98 kB / 0.9305 GB, free: 192.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001499/1.364, allocations: 223.1 kB / 0.9307 GB, free: 192.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/1.364, allocations: 0 / 0.9307 GB, free: 192.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006199/1.37, allocations: 3.282 MB / 0.9339 GB, free: 189.2 MB / 0.6075 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: 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), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01636/1.386, allocations: 5.886 MB / 0.9396 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00162/1.388, allocations: 0.9357 MB / 0.9405 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.388, allocations: 4 kB / 0.9405 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006307/1.388, allocations: 499.4 kB / 0.941 GB, free: 182.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/1.39, allocations: 393.1 kB / 0.9414 GB, free: 181.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009138/1.399, allocations: 6.185 MB / 0.9474 GB, free: 175.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/1.399, allocations: 0.8565 MB / 0.9483 GB, free: 174.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003475/1.4, allocations: 111.3 kB / 0.9484 GB, free: 174.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/1.4, allocations: 167.4 kB / 0.9485 GB, free: 174.3 MB / 0.6075 GB Notification: Performance of SimCode: time 8.21e-07/1.4, allocations: 4 kB / 0.9485 GB, free: 174.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.322/2.722, allocations: 128.8 MB / 1.074 GB, free: 45.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.81/23.53, allocations: 15.75 kB / 1.074 GB, free: 45.23 MB / 0.6075 GB " [Timeout remaining time 636] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 30.33109055319801] Failed to read output from testmodel.py, exit status != 0: 23.7131179086864 23.721830105 22.824126357 Calling exit ...