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.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.00213/0.00213, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002253/0.002253, allocations: 213 kB / 22.25 MB, free: 5.086 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.429/1.429, allocations: 207.6 MB / 233 MB, free: 10.01 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.05345/0.05345, allocations: 9.165 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.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.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.002294/0.002294, allocations: 83.56 kB / 411.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07021/0.0725, allocations: 50.75 MB / 461.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.374/0.4465, allocations: 142.9 MB / 0.5906 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1104/0.557, allocations: 98 MB / 0.6863 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006442/0.5576, allocations: 11.94 kB / 0.6863 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003592/0.5612, allocations: 1.547 MB / 0.6879 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004815/0.566, allocations: 1.829 MB / 0.6896 GB, free: 3.91 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.07499/0.641, allocations: 31.56 MB / 0.7205 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002502/0.6435, allocations: 1.429 MB / 0.7219 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.6438, allocations: 89.91 kB / 0.7219 GB, free: 2.723 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:620:5-620:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01853/0.6623, allocations: 10.26 MB / 0.732 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006642/0.663, allocations: 394.5 kB / 0.7323 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.554e-05/0.663, allocations: 44 kB / 0.7324 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3057/0.9688, allocations: 32.78 MB / 0.7644 GB, free: 45.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.969, allocations: 122.5 kB / 0.7645 GB, free: 45.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005006/0.9695, allocations: 309 kB / 0.7648 GB, free: 45.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0367/1.006, allocations: 12.73 MB / 0.7772 GB, free: 45.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/1.006, allocations: 0 / 0.7772 GB, free: 45.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/1.006, allocations: 0 / 0.7772 GB, free: 45.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.047e-05/1.006, allocations: 0 / 0.7772 GB, free: 45.37 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.005598/1.012, allocations: 2.304 MB / 0.7795 GB, free: 44.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.012, allocations: 15.55 kB / 0.7795 GB, free: 44.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.695e-05/1.012, allocations: 85.8 kB / 0.7796 GB, free: 44.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005368/1.012, allocations: 83.22 kB / 0.7797 GB, free: 44.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/1.013, allocations: 274.2 kB / 0.7799 GB, free: 43.87 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/1.013, allocations: 31.41 kB / 0.78 GB, free: 43.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/1.013, allocations: 30.72 kB / 0.78 GB, free: 43.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/1.014, allocations: 0.6026 MB / 0.7806 GB, free: 43.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/1.014, allocations: 3.562 kB / 0.7806 GB, free: 43.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/1.014, allocations: 14.88 kB / 0.7806 GB, free: 43.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/1.014, allocations: 16.56 kB / 0.7806 GB, free: 43.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/1.015, allocations: 0.5339 MB / 0.7811 GB, free: 43.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/1.017, allocations: 2.477 MB / 0.7836 GB, free: 42.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009157/1.018, allocations: 471.5 kB / 0.784 GB, free: 42.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/1.018, allocations: 315.1 kB / 0.7843 GB, free: 42.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1466/1.165, allocations: 37.34 MB / 0.8208 GB, free: 25.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/1.165, allocations: 43.69 kB / 0.8208 GB, free: 25.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 2.876e-06/1.165, allocations: 0 / 0.8208 GB, free: 25.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.005434/1.171, allocations: 2.232 MB / 0.823 GB, free: 23.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/1.171, allocations: 60.17 kB / 0.823 GB, free: 23.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/1.171, allocations: 258.7 kB / 0.8233 GB, free: 23.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/1.171, allocations: 33.58 kB / 0.8233 GB, free: 23.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/1.171, allocations: 187.4 kB / 0.8235 GB, free: 23.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/1.171, allocations: 274.4 kB / 0.8238 GB, free: 23.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/1.171, allocations: 102.7 kB / 0.8239 GB, free: 23.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/1.171, allocations: 355 kB / 0.8242 GB, free: 22.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/1.172, allocations: 282.2 kB / 0.8245 GB, free: 22.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/1.172, allocations: 408.8 kB / 0.8249 GB, free: 22.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008684/1.173, allocations: 0.7208 MB / 0.8256 GB, free: 21.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.173, allocations: 4 kB / 0.8256 GB, free: 21.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001263/1.174, allocations: 0.8231 MB / 0.8264 GB, free: 21.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.174, allocations: 6.656 kB / 0.8264 GB, free: 21.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.174, allocations: 4 kB / 0.8264 GB, free: 21.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004832/1.175, allocations: 106.9 kB / 0.8265 GB, free: 21.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/1.175, allocations: 104.6 kB / 0.8266 GB, free: 20.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0645/1.24, allocations: 19.02 MB / 0.8452 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/1.24, allocations: 31.53 kB / 0.8452 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/1.24, allocations: 17.44 kB / 0.8452 GB, free: 2.605 MB / 0.545 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.0002533/1.24, allocations: 189.6 kB / 0.8454 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/1.24, allocations: 43.72 kB / 0.8454 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/1.242, allocations: 1.727 MB / 0.8471 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.242, allocations: 14.5 kB / 0.8471 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.242, allocations: 0 / 0.8471 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/1.244, allocations: 1.287 MB / 0.8484 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/1.246, allocations: 1.754 MB / 0.8501 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.246, allocations: 2.344 kB / 0.8501 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/1.246, allocations: 78.39 kB / 0.8502 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000386/1.247, allocations: 207.9 kB / 0.8504 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/1.247, allocations: 3.688 kB / 0.8504 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/1.249, allocations: 2.473 MB / 0.8528 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.249, allocations: 0 / 0.8528 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/1.251, allocations: 1.491 MB / 0.8542 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/1.251, allocations: 39.69 kB / 0.8543 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/1.251, allocations: 11.62 kB / 0.8543 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/1.252, allocations: 27.53 kB / 0.8543 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.252, allocations: 47.73 kB / 0.8544 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/1.252, allocations: 19.86 kB / 0.8544 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000249/1.252, allocations: 224.9 kB / 0.8546 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.252, allocations: 0 / 0.8546 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00893/1.261, allocations: 3.273 MB / 0.8578 GB, free: 7.605 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: 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.01938/1.28, allocations: 5.926 MB / 0.8636 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002076/1.282, allocations: 0.9626 MB / 0.8645 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.282, allocations: 0 / 0.8645 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009597/1.283, allocations: 0.4952 MB / 0.865 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/1.285, allocations: 399.6 kB / 0.8654 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.299, allocations: 6.262 MB / 0.8715 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/1.299, allocations: 0.8564 MB / 0.8723 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004219/1.3, allocations: 107.2 kB / 0.8724 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/1.3, allocations: 172.5 kB / 0.8726 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/1.3, allocations: 0 / 0.8726 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4295/1.729, allocations: 129.4 MB / 0.999 GB, free: 249.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.3/21.03, allocations: 7.812 kB / 0.999 GB, free: 249.3 MB / 0.67 GB " [Timeout remaining time 639] (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: 27.94963468099013] Failed to read output from testmodel.py, exit status != 0: 21.24820934003219 21.272495095 20.261137539 Calling exit ...