Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.001867/0.001867, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00282/0.00282, allocations: 216.2 kB / 22.25 MB, free: 5.125 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.504/1.504, allocations: 207.6 MB / 233 MB, free: 9.977 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.08355/0.08355, allocations: 9.157 MB / 294.4 MB, free: 12.68 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.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",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.002331/0.002331, allocations: 72.89 kB / 411 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08092/0.08325, allocations: 50.77 MB / 461.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02444/0.1077, allocations: 18.01 MB / 479.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03513/0.1428, allocations: 32.29 MB / 0.5001 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.143, allocations: 0 / 0.5001 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.1441, allocations: 478 kB / 0.5006 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.1445, allocations: 155 kB / 0.5007 GB, free: 9.625 MB / 382.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.0257/0.1702, allocations: 10.05 MB / 0.5105 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006428/0.1708, allocations: 390.4 kB / 0.5109 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.1709, allocations: 16.53 kB / 0.5109 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.1713, allocations: 179.3 kB / 0.5111 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1715, allocations: 119.5 kB / 0.5112 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.1716, allocations: 16 kB / 0.5112 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02216/0.1937, allocations: 11.96 MB / 0.5229 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1938, allocations: 47.81 kB / 0.5229 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.194, allocations: 103.5 kB / 0.523 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2104/0.4044, allocations: 4.768 MB / 0.5277 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4044, allocations: 0 / 0.5277 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4044, allocations: 1.031 kB / 0.5277 GB, free: 28.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.4044, allocations: 0 / 0.5277 GB, free: 28.62 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.004427/0.4088, allocations: 1.104 MB / 0.5288 GB, free: 27.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.4089, allocations: 15.34 kB / 0.5288 GB, free: 27.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.4089, allocations: 50.52 kB / 0.5288 GB, free: 27.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/0.4092, allocations: 34.12 kB / 0.5289 GB, free: 27.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.4095, allocations: 164.5 kB / 0.529 GB, free: 27.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.4096, allocations: 10.06 kB / 0.529 GB, free: 27.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.4096, allocations: 10.95 kB / 0.529 GB, free: 27.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.4102, allocations: 264.2 kB / 0.5293 GB, free: 27.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4102, allocations: 1.562 kB / 0.5293 GB, free: 27.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4102, allocations: 4.75 kB / 0.5293 GB, free: 27.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.4103, allocations: 6.453 kB / 0.5293 GB, free: 27.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006169/0.4109, allocations: 233.1 kB / 0.5295 GB, free: 27.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.4117, allocations: 1.053 MB / 0.5306 GB, free: 26.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.4122, allocations: 229 kB / 0.5308 GB, free: 26.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.4125, allocations: 143 kB / 0.5309 GB, free: 26.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06975/0.4822, allocations: 14.56 MB / 0.5451 GB, free: 26.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.4823, allocations: 38.97 kB / 0.5452 GB, free: 26.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 3.317e-06/0.4823, allocations: 0 / 0.5452 GB, free: 26.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.00141/0.4837, allocations: 476.8 kB / 0.5456 GB, free: 26.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.4837, allocations: 135.4 kB / 0.5457 GB, free: 26.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4838, allocations: 165.4 kB / 0.5459 GB, free: 26.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.4839, allocations: 34.7 kB / 0.5459 GB, free: 26.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.4839, allocations: 129.8 kB / 0.5461 GB, free: 25.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.4839, allocations: 95.27 kB / 0.5462 GB, free: 25.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.484, allocations: 46.84 kB / 0.5462 GB, free: 25.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.4841, allocations: 332.7 kB / 0.5465 GB, free: 25.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.4843, allocations: 107.6 kB / 0.5466 GB, free: 25.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.4845, allocations: 167.1 kB / 0.5468 GB, free: 25.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.485, allocations: 289.8 kB / 0.5471 GB, free: 25.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.485, allocations: 4 kB / 0.5471 GB, free: 25.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005669/0.4856, allocations: 333.1 kB / 0.5474 GB, free: 25.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4856, allocations: 6.25 kB / 0.5474 GB, free: 25.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4856, allocations: 11.11 kB / 0.5474 GB, free: 25.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4856, allocations: 3.562 kB / 0.5474 GB, free: 25.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.4858, allocations: 46.94 kB / 0.5474 GB, free: 25.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4859, allocations: 3.562 kB / 0.5474 GB, free: 25.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.4861, allocations: 30.73 kB / 0.5475 GB, free: 25.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.4861, allocations: 10.25 kB / 0.5475 GB, free: 25.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.4862, allocations: 138.6 kB / 0.5476 GB, free: 25.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.4863, allocations: 22.45 kB / 0.5476 GB, free: 25.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/0.4868, allocations: 375.8 kB / 0.548 GB, free: 25.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.4868, allocations: 4.531 kB / 0.548 GB, free: 25.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4868, allocations: 2.719 kB / 0.548 GB, free: 25.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4868, allocations: 3.469 kB / 0.548 GB, free: 25.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.4873, allocations: 308.3 kB / 0.5483 GB, free: 24.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4873, allocations: 0 / 0.5483 GB, free: 24.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.4875, allocations: 38.95 kB / 0.5483 GB, free: 24.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4875, allocations: 2.125 kB / 0.5483 GB, free: 24.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4875, allocations: 6.562 kB / 0.5483 GB, free: 24.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4875, allocations: 3.375 kB / 0.5483 GB, free: 24.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4875, allocations: 0 / 0.5483 GB, free: 24.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/0.4881, allocations: 0.6607 MB / 0.549 GB, free: 24.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.4882, allocations: 26.64 kB / 0.549 GB, free: 24.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.4882, allocations: 7.062 kB / 0.549 GB, free: 24.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.4885, allocations: 18.23 kB / 0.549 GB, free: 24.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.4886, allocations: 22.61 kB / 0.5491 GB, free: 24.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.4886, allocations: 11.06 kB / 0.5491 GB, free: 24.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.794e-05/0.4886, allocations: 126.5 kB / 0.5492 GB, free: 24.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4886, allocations: 0 / 0.5492 GB, free: 24.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003322/0.492, allocations: 0.8085 MB / 0.55 GB, free: 24.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005267/0.4972, allocations: 2.291 MB / 0.5522 GB, free: 23.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007057/0.4979, allocations: 276.9 kB / 0.5525 GB, free: 23.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4979, allocations: 0 / 0.5525 GB, free: 23.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.4982, allocations: 149.2 kB / 0.5526 GB, free: 23.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/0.4991, allocations: 93.27 kB / 0.5527 GB, free: 23.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.504, allocations: 3.072 MB / 0.5557 GB, free: 21.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.5042, allocations: 0.7414 MB / 0.5564 GB, free: 20.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.5044, allocations: 54.48 kB / 0.5565 GB, free: 20.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5045, allocations: 70.39 kB / 0.5566 GB, free: 20.69 MB / 398.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5045, allocations: 0 / 0.5566 GB, free: 20.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05904/0.5635, allocations: 27.43 MB / 0.5833 GB, free: 12.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.74, allocations: 8 kB / 0.5834 GB, free: 12.79 MB / 414.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.004 HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep.fmu > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.840654956002254] Failed to read output from testmodel.py, exit status != 0: 12.855074692000926 12.870433049 12.462634369 Calling exit ...