Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.001343/0.001343, 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.001477/0.001477, allocations: 216.5 kB / 22.25 MB, free: 5.082 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.517/1.517, 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.05219/0.05219, 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.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",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.002253/0.002253, allocations: 68.22 kB / 411.1 MB, free: 46.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.09165, allocations: 50.76 MB / 461.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.4158/0.5075, allocations: 129.5 MB / 0.5775 GB, free: 168 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1218/0.6293, allocations: 111.4 MB / 0.6863 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006335/0.6299, allocations: 11.88 kB / 0.6863 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003672/0.6336, allocations: 1.559 MB / 0.6878 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005305/0.6389, allocations: 1.825 MB / 0.6896 GB, free: 3.918 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.08801/0.7269, allocations: 31.55 MB / 0.7204 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002488/0.7294, allocations: 1.421 MB / 0.7218 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.7297, allocations: 81.91 kB / 0.7219 GB, free: 2.754 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.01975/0.7494, allocations: 10.24 MB / 0.7319 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007169/0.7502, allocations: 398.5 kB / 0.7323 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.587e-05/0.7502, allocations: 40 kB / 0.7323 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4036/1.154, allocations: 36.8 MB / 0.7683 GB, free: 47.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002629/1.154, allocations: 126.1 kB / 0.7684 GB, free: 47.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005428/1.155, allocations: 307.2 kB / 0.7687 GB, free: 47.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04889/1.204, allocations: 14.23 MB / 0.7826 GB, free: 46.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.204, allocations: 0 / 0.7826 GB, free: 46.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.213e-06/1.204, allocations: 0 / 0.7826 GB, free: 46.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.19e-05/1.204, allocations: 0 / 0.7826 GB, free: 46.82 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.00797/1.212, allocations: 2.606 MB / 0.7851 GB, free: 45.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.212, allocations: 14.67 kB / 0.7851 GB, free: 45.39 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.15e-05/1.212, allocations: 81.48 kB / 0.7852 GB, free: 45.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006494/1.212, allocations: 92.28 kB / 0.7853 GB, free: 45.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/1.213, allocations: 285 kB / 0.7856 GB, free: 45.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/1.213, allocations: 32.34 kB / 0.7856 GB, free: 45.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/1.213, allocations: 28.69 kB / 0.7856 GB, free: 45.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/1.214, allocations: 0.6128 MB / 0.7862 GB, free: 45.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/1.214, allocations: 0 / 0.7862 GB, free: 45.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/1.214, allocations: 17 kB / 0.7862 GB, free: 45.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/1.214, allocations: 14.78 kB / 0.7863 GB, free: 45.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/1.215, allocations: 0.5606 MB / 0.7868 GB, free: 45.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/1.217, allocations: 2.446 MB / 0.7892 GB, free: 43.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009318/1.218, allocations: 472.8 kB / 0.7896 GB, free: 43.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/1.219, allocations: 312.8 kB / 0.7899 GB, free: 43.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1898/1.409, allocations: 43.91 MB / 0.8328 GB, free: 16.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.409, allocations: 46.28 kB / 0.8329 GB, free: 16.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=77): time 2.575e-06/1.409, allocations: 0 / 0.8329 GB, free: 16.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=81): time 0.005174/1.414, allocations: 2.254 MB / 0.8351 GB, free: 14.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/1.414, allocations: 55.41 kB / 0.8351 GB, free: 14.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/1.414, allocations: 259.4 kB / 0.8354 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/1.414, allocations: 29.58 kB / 0.8354 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/1.414, allocations: 194.5 kB / 0.8356 GB, free: 13.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/1.414, allocations: 279.5 kB / 0.8358 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/1.414, allocations: 97.64 kB / 0.8359 GB, free: 13.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.854e-05/1.414, allocations: 361.1 kB / 0.8363 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/1.415, allocations: 282.8 kB / 0.8366 GB, free: 13.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/1.415, allocations: 410 kB / 0.8369 GB, free: 12.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009146/1.416, allocations: 0.7065 MB / 0.8376 GB, free: 12.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.416, allocations: 0 / 0.8376 GB, free: 12.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001258/1.417, allocations: 0.8229 MB / 0.8384 GB, free: 11.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.417, allocations: 8 kB / 0.8384 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.417, allocations: 3.984 kB / 0.8385 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/1.418, allocations: 63.62 kB / 0.8385 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/1.418, allocations: 143.6 kB / 0.8386 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06843/1.487, allocations: 19.49 MB / 0.8577 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/1.487, allocations: 31.16 kB / 0.8577 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/1.487, allocations: 19.81 kB / 0.8577 GB, free: 8.496 MB / 0.5606 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.0003296/1.488, allocations: 183.8 kB / 0.8579 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.488, allocations: 55.64 kB / 0.858 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/1.49, allocations: 1.733 MB / 0.8597 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/1.49, allocations: 21.02 kB / 0.8597 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.49, allocations: 1.094 kB / 0.8597 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001663/1.492, allocations: 1.325 MB / 0.861 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/1.494, allocations: 1.754 MB / 0.8627 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.494, allocations: 0 / 0.8627 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/1.494, allocations: 78.62 kB / 0.8628 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000346/1.495, allocations: 176.2 kB / 0.8629 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/1.495, allocations: 15.55 kB / 0.8629 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/1.497, allocations: 2.466 MB / 0.8653 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.497, allocations: 0 / 0.8653 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/1.499, allocations: 1.416 MB / 0.8667 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/1.499, allocations: 45.84 kB / 0.8668 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/1.499, allocations: 10 kB / 0.8668 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/1.499, allocations: 28.66 kB / 0.8668 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.499, allocations: 42.17 kB / 0.8668 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/1.5, allocations: 16.17 kB / 0.8669 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002461/1.5, allocations: 227.7 kB / 0.8671 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.5, allocations: 1.75 kB / 0.8671 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01045/1.51, allocations: 3.569 MB / 0.8706 GB, free: 13.25 MB / 0.5762 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.02348/1.534, allocations: 6.331 MB / 0.8768 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002558/1.536, allocations: 1.012 MB / 0.8777 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.536, allocations: 4 kB / 0.8777 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008533/1.537, allocations: 497.2 kB / 0.8782 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/1.539, allocations: 393.6 kB / 0.8786 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/1.554, allocations: 6.356 MB / 0.8848 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/1.555, allocations: 0.8487 MB / 0.8856 GB, free: 148 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005121/1.555, allocations: 139.2 kB / 0.8858 GB, free: 8 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/1.555, allocations: 169.1 kB / 0.8859 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/1.555, allocations: 14.47 kB / 0.8859 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.486/2.041, allocations: 134 MB / 1.017 GB, free: 241 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.4/21.44, allocations: 4.953 kB / 1.017 GB, free: 241 MB / 0.67 GB " [Timeout remaining time 638] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 30.255579220000072] Failed to read output from testmodel.py, exit status != 0: 21.65213035900524 21.665362545 20.458912804 Calling exit ...