Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_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.002038/0.002038, allocations: 107.5 kB / 16.45 MB, free: 6.488 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.002366/0.002366, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.543/1.543, 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.04884/0.04884, allocations: 9.147 MB / 290.8 MB, free: 13.93 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_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_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.002059/0.002059, allocations: 75.08 kB / 405.9 MB, free: 47.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07237/0.07443, allocations: 50.72 MB / 456.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.349/0.4234, allocations: 142.6 MB / 0.5852 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.09832/0.5217, allocations: 97.91 MB / 0.6808 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005365/0.5223, allocations: 11.94 kB / 0.6808 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003322/0.5256, allocations: 1.551 MB / 0.6823 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.5294, allocations: 1.829 MB / 0.6841 GB, free: 5.867 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.07269/0.6021, allocations: 31.34 MB / 0.7147 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001967/0.604, allocations: 1.402 MB / 0.7161 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.6043, allocations: 97.7 kB / 0.7162 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01575/0.62, allocations: 10.05 MB / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.6205, allocations: 402.3 kB / 0.7264 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.304e-05/0.6206, allocations: 40 kB / 0.7264 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3289/0.9495, allocations: 35.89 MB / 0.7615 GB, free: 47.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.9497, allocations: 120.2 kB / 0.7616 GB, free: 47.28 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.9502, allocations: 309.6 kB / 0.7619 GB, free: 47.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03662/0.9868, allocations: 14.19 MB / 0.7757 GB, free: 46.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.9868, allocations: 3.938 kB / 0.7757 GB, free: 46.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9868, allocations: 0 / 0.7757 GB, free: 46.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.9868, allocations: 0 / 0.7757 GB, free: 46.86 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.005772/0.9926, allocations: 2.677 MB / 0.7784 GB, free: 45.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.9926, allocations: 11.75 kB / 0.7784 GB, free: 45.35 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.541e-05/0.9927, allocations: 87.94 kB / 0.7784 GB, free: 45.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006192/0.9933, allocations: 93.03 kB / 0.7785 GB, free: 45.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.9937, allocations: 339.4 kB / 0.7789 GB, free: 45.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.9938, allocations: 31.53 kB / 0.7789 GB, free: 45.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.9938, allocations: 33.38 kB / 0.7789 GB, free: 45.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.9949, allocations: 0.6053 MB / 0.7795 GB, free: 44.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.9949, allocations: 0 / 0.7795 GB, free: 44.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.9949, allocations: 11.38 kB / 0.7795 GB, free: 44.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.9949, allocations: 19.3 kB / 0.7795 GB, free: 44.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.9961, allocations: 0.553 MB / 0.7801 GB, free: 44.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.998, allocations: 2.501 MB / 0.7825 GB, free: 43.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009387/0.9989, allocations: 479.1 kB / 0.783 GB, free: 43.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004066/0.9994, allocations: 307 kB / 0.7833 GB, free: 43.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2345/1.234, allocations: 139 MB / 0.919 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/1.234, allocations: 34.66 kB / 0.919 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 2.886e-06/1.234, allocations: 4 kB / 0.919 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.005791/1.24, allocations: 2.342 MB / 0.9213 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/1.24, allocations: 60.89 kB / 0.9214 GB, free: 9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/1.24, allocations: 256.8 kB / 0.9216 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/1.24, allocations: 33.58 kB / 0.9217 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.24, allocations: 189.7 kB / 0.9218 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/1.24, allocations: 281.6 kB / 0.9221 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/1.241, allocations: 101.4 kB / 0.9222 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.241, allocations: 348.5 kB / 0.9225 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/1.241, allocations: 277.6 kB / 0.9228 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/1.242, allocations: 407.4 kB / 0.9232 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/1.243, allocations: 0.7035 MB / 0.9239 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.243, allocations: 4 kB / 0.9239 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001401/1.244, allocations: 0.795 MB / 0.9247 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.244, allocations: 8 kB / 0.9247 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.244, allocations: 4.406 kB / 0.9247 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/1.244, allocations: 72.02 kB / 0.9247 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/1.245, allocations: 125.2 kB / 0.9249 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06922/1.314, allocations: 19.09 MB / 0.9435 GB, free: 3.648 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/1.315, allocations: 35.91 kB / 0.9435 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/1.315, allocations: 15.88 kB / 0.9435 GB, free: 3.605 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * 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, 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.0002718/1.315, allocations: 198.1 kB / 0.9437 GB, free: 3.449 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/1.315, allocations: 46.81 kB / 0.9438 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/1.317, allocations: 1.564 MB / 0.9453 GB, free: 2.301 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.317, allocations: 17.52 kB / 0.9453 GB, free: 2.289 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.317, allocations: 0.6562 kB / 0.9453 GB, free: 2.289 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001423/1.319, allocations: 1.173 MB / 0.9465 GB, free: 1.305 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/1.321, allocations: 1.626 MB / 0.9481 GB, free: 140 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.321, allocations: 0 / 0.9481 GB, free: 140 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/1.321, allocations: 79.06 kB / 0.9481 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/1.321, allocations: 115.5 kB / 0.9482 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/1.321, allocations: 7.938 kB / 0.9483 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/1.323, allocations: 1.998 MB / 0.9502 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.323, allocations: 0 / 0.9502 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/1.325, allocations: 1.25 MB / 0.9514 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/1.325, allocations: 124.4 kB / 0.9515 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/1.325, allocations: 12.31 kB / 0.9516 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/1.325, allocations: 26.47 kB / 0.9516 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.175e-05/1.325, allocations: 48.53 kB / 0.9516 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/1.325, allocations: 10.19 kB / 0.9516 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002445/1.326, allocations: 246.5 kB / 0.9519 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/1.326, allocations: 0.7656 kB / 0.9519 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.008602/1.334, allocations: 3.573 MB / 0.9554 GB, free: 9.18 MB / 0.6856 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: 9 ($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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01798/1.352, allocations: 6.254 MB / 0.9615 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002052/1.354, allocations: 0.9423 MB / 0.9624 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.354, allocations: 3.938 kB / 0.9624 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000832/1.355, allocations: 493.8 kB / 0.9629 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.357, allocations: 398.7 kB / 0.9632 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1758/1.533, allocations: 6.346 MB / 0.9694 GB, free: 345.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/1.533, allocations: 0.8488 MB / 0.9703 GB, free: 344.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004265/1.533, allocations: 146.4 kB / 0.9704 GB, free: 344.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/1.534, allocations: 169.9 kB / 0.9706 GB, free: 344.8 MB / 0.6856 GB Notification: Performance of SimCode: time 8.12e-07/1.534, allocations: 0 / 0.9706 GB, free: 344.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6392/2.173, allocations: 132.9 MB / 1.1 GB, free: 238.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.13/23.31, allocations: 12.03 kB / 1.1 GB, free: 238.3 MB / 0.6856 GB " [Timeout remaining time 637] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_ph_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_ph.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 33.452019239310175] Failed to read output from testmodel.py, exit status != 0: 23.491976846009493 23.510340604 22.520026398 Calling exit ...