Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.001347/0.001347, allocations: 110.4 kB / 16.46 MB, free: 6.035 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.00132/0.00132, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.526/1.526, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.0552/0.0552, allocations: 9.149 MB / 290.8 MB, free: 13.92 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,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT",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.002009/0.002009, allocations: 75.73 kB / 405.9 MB, free: 47.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06517/0.06718, allocations: 50.71 MB / 456.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.3296/0.3968, allocations: 142.7 MB / 0.5852 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.09604/0.4929, allocations: 97.9 MB / 0.6808 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.4934, allocations: 4 kB / 0.6808 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.4965, allocations: 1.555 MB / 0.6823 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.5002, allocations: 1.826 MB / 0.6841 GB, free: 5.859 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.07149/0.5717, allocations: 31.35 MB / 0.7147 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001915/0.5736, allocations: 1.418 MB / 0.7161 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.5738, allocations: 89.67 kB / 0.7162 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01614/0.5899, allocations: 10.06 MB / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.5905, allocations: 390.5 kB / 0.7264 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.342e-05/0.5905, allocations: 44 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3024/0.8929, allocations: 29.84 MB / 0.7556 GB, free: 47.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.8931, allocations: 123.4 kB / 0.7557 GB, free: 47.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004609/0.8936, allocations: 308.4 kB / 0.756 GB, free: 47.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03055/0.9241, allocations: 11.94 MB / 0.7676 GB, free: 47.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9242, allocations: 0 / 0.7676 GB, free: 47.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.562e-06/0.9242, allocations: 1.438 kB / 0.7676 GB, free: 47.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.9242, allocations: 0 / 0.7676 GB, free: 47.01 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.00641/0.9306, allocations: 2.233 MB / 0.7698 GB, free: 45.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.9306, allocations: 7.031 kB / 0.7698 GB, free: 45.72 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.681e-05/0.9307, allocations: 86.69 kB / 0.7699 GB, free: 45.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004993/0.9312, allocations: 83.84 kB / 0.77 GB, free: 45.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.9317, allocations: 332.9 kB / 0.7703 GB, free: 45.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.9318, allocations: 30.27 kB / 0.7703 GB, free: 45.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.9318, allocations: 33.72 kB / 0.7704 GB, free: 45.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.9329, allocations: 0.5837 MB / 0.7709 GB, free: 45.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.9329, allocations: 3.188 kB / 0.7709 GB, free: 45.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.9329, allocations: 19.61 kB / 0.771 GB, free: 45.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.9329, allocations: 18.47 kB / 0.771 GB, free: 45.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009863/0.9339, allocations: 0.5112 MB / 0.7715 GB, free: 45.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.9358, allocations: 2.484 MB / 0.7739 GB, free: 43.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008798/0.9367, allocations: 449.4 kB / 0.7743 GB, free: 43.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/0.9371, allocations: 287.6 kB / 0.7746 GB, free: 43.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1667/1.104, allocations: 113.3 MB / 0.8852 GB, free: 30.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/1.104, allocations: 34.84 kB / 0.8853 GB, free: 30.75 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=78): time 4.378e-06/1.104, allocations: 0 / 0.8853 GB, free: 30.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.005876/1.11, allocations: 2.643 MB / 0.8878 GB, free: 28.72 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/1.11, allocations: 55.41 kB / 0.8879 GB, free: 28.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/1.11, allocations: 264.2 kB / 0.8881 GB, free: 28.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/1.11, allocations: 31.12 kB / 0.8882 GB, free: 28.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/1.11, allocations: 192.7 kB / 0.8884 GB, free: 28.24 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/1.11, allocations: 280.6 kB / 0.8886 GB, free: 28 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/1.11, allocations: 106.8 kB / 0.8887 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.111, allocations: 352.2 kB / 0.8891 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/1.111, allocations: 276.9 kB / 0.8893 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/1.111, allocations: 405.8 kB / 0.8897 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008882/1.112, allocations: 0.7098 MB / 0.8904 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.112, allocations: 2.406 kB / 0.8904 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001225/1.114, allocations: 0.8123 MB / 0.8912 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.114, allocations: 15.16 kB / 0.8912 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.114, allocations: 4.547 kB / 0.8912 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007179/1.114, allocations: 147.2 kB / 0.8914 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/1.115, allocations: 122.5 kB / 0.8915 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/1.117, allocations: 3.754 MB / 0.8951 GB, free: 22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/1.118, allocations: 23.8 kB / 0.8952 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/1.118, allocations: 19.73 kB / 0.8952 GB, free: 21.96 MB / 0.6387 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): 39 * 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, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002375/1.118, allocations: 198.8 kB / 0.8954 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-05/1.118, allocations: 43.72 kB / 0.8954 GB, free: 21.76 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/1.12, allocations: 1.661 MB / 0.897 GB, free: 20.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.12, allocations: 15.73 kB / 0.8971 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/1.12, allocations: 0.75 kB / 0.8971 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001293/1.121, allocations: 1.231 MB / 0.8983 GB, free: 19.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/1.123, allocations: 1.72 MB / 0.8999 GB, free: 18.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.123, allocations: 3.984 kB / 0.8999 GB, free: 18.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/1.123, allocations: 70.14 kB / 0.9 GB, free: 18.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005579/1.124, allocations: 258.7 kB / 0.9003 GB, free: 18.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/1.124, allocations: 12.81 kB / 0.9003 GB, free: 18.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/1.125, allocations: 1.778 MB / 0.902 GB, free: 16.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.125, allocations: 4.062 kB / 0.902 GB, free: 16.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/1.127, allocations: 1.445 MB / 0.9034 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/1.127, allocations: 120.7 kB / 0.9035 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/1.127, allocations: 9.438 kB / 0.9035 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/1.127, allocations: 31.16 kB / 0.9036 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/1.127, allocations: 43.62 kB / 0.9036 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/1.127, allocations: 18.44 kB / 0.9036 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001922/1.128, allocations: 221.7 kB / 0.9038 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/1.128, allocations: 0 / 0.9038 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004666/1.132, allocations: 2.008 MB / 0.9058 GB, free: 13.06 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0104/1.143, allocations: 4.547 MB / 0.9102 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001835/1.144, allocations: 0.8303 MB / 0.9111 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.144, allocations: 0 / 0.9111 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006289/1.145, allocations: 394.6 kB / 0.9114 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/1.147, allocations: 390.8 kB / 0.9118 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.157, allocations: 5.752 MB / 0.9174 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/1.157, allocations: 0.8446 MB / 0.9182 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004154/1.158, allocations: 92.14 kB / 0.9183 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/1.158, allocations: 166.6 kB / 0.9185 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of SimCode: time 8.51e-07/1.158, allocations: 0 / 0.9185 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.648/2.806, allocations: 78.01 MB / 0.9947 GB, free: 314.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.76/20.57, allocations: 5.625 kB / 0.9947 GB, free: 314.5 MB / 0.6856 GB " [Timeout remaining time 639] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.92553576687351] Failed to read output from testmodel.py, exit status != 0: 20.714400222990662 20.734822354 19.806808593 Calling exit ...