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.001293/0.001293, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001058/0.001058, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8881/0.8881, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02952/0.02952, allocations: 7.518 MB / 266.7 MB, free: 6.203 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 391.7 MB, free: 6.391 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.678e-05, allocations: 2.281 kB / 391.7 MB, free: 6.387 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01418/0.01421, allocations: 16.27 MB / 408 MB, free: 6.051 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02177/0.03598, allocations: 28.57 MB / 436.5 MB, free: 9.387 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.03618, allocations: 4 kB / 436.6 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008909/0.03707, allocations: 374.1 kB / 436.9 MB, free: 9.016 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.03746, allocations: 155 kB / 437.1 MB, free: 8.863 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1848/0.2223, allocations: 10.16 MB / 447.2 MB, free: 52.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.2226, allocations: 402.4 kB / 447.6 MB, free: 52.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.2227, allocations: 15.22 kB / 447.6 MB, free: 52.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.223, allocations: 245.4 kB / 447.9 MB, free: 52.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.2231, allocations: 96.05 kB / 448 MB, free: 52.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.2231, allocations: 13.09 kB / 448 MB, free: 52.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00963/0.2328, allocations: 8.203 MB / 456.2 MB, free: 52.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.551e-05/0.2328, allocations: 50.77 kB / 456.2 MB, free: 52.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.233, allocations: 69.5 kB / 456.3 MB, free: 52.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009682/0.2427, allocations: 4.898 MB / 461.2 MB, free: 51.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2427, allocations: 4 kB / 461.2 MB, free: 51.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2427, allocations: 0 / 461.2 MB, free: 51.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.2427, allocations: 0 / 461.2 MB, free: 51.94 MB / 410.7 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.00171/0.2444, allocations: 1.091 MB / 462.3 MB, free: 51.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.2445, allocations: 9.812 kB / 462.3 MB, free: 51.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.2445, allocations: 48.31 kB / 462.4 MB, free: 51.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.2449, allocations: 97.73 kB / 462.4 MB, free: 51.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.2451, allocations: 181.3 kB / 462.6 MB, free: 51.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2451, allocations: 7.375 kB / 462.6 MB, free: 51.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.2451, allocations: 11.34 kB / 462.6 MB, free: 51.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.2455, allocations: 324.2 kB / 463 MB, free: 50.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2455, allocations: 3.469 kB / 463 MB, free: 50.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.2455, allocations: 7.094 kB / 463 MB, free: 50.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2455, allocations: 3.125 kB / 463 MB, free: 50.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.2459, allocations: 232 kB / 463.2 MB, free: 50.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.2465, allocations: 0.875 MB / 464.1 MB, free: 50.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.2467, allocations: 226.1 kB / 464.3 MB, free: 50.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.2469, allocations: 139.5 kB / 464.4 MB, free: 50.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03669/0.2836, allocations: 14.6 MB / 479 MB, free: 49.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.2836, allocations: 37.09 kB / 479.1 MB, free: 49.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.366e-06/0.2836, allocations: 0 / 479.1 MB, free: 49.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001055/0.2847, allocations: 480.3 kB / 479.5 MB, free: 49.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.2847, allocations: 138 kB / 479.7 MB, free: 49.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2848, allocations: 178.8 kB / 479.8 MB, free: 49.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.2849, allocations: 30.86 kB / 479.9 MB, free: 49.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.2849, allocations: 120.8 kB / 480 MB, free: 49.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.285, allocations: 96.7 kB / 480.1 MB, free: 49.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.285, allocations: 43.84 kB / 480.1 MB, free: 49.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.2851, allocations: 329.1 kB / 480.5 MB, free: 48.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.2852, allocations: 118.2 kB / 480.6 MB, free: 48.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.2854, allocations: 160.2 kB / 480.7 MB, free: 48.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.2858, allocations: 295.3 kB / 481 MB, free: 48.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.2858, allocations: 0 / 481 MB, free: 48.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004762/0.2863, allocations: 327.2 kB / 481.3 MB, free: 48.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.2863, allocations: 9.125 kB / 481.3 MB, free: 48.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2863, allocations: 2.062 kB / 481.3 MB, free: 48.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.2863, allocations: 2.094 kB / 481.3 MB, free: 48.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.2865, allocations: 51.25 kB / 481.4 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.2865, allocations: 3.844 kB / 481.4 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.2867, allocations: 39.84 kB / 481.4 MB, free: 48.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.2867, allocations: 7.203 kB / 481.4 MB, free: 48.63 MB / 410.7 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 8.794e-05/0.2868, allocations: 132.9 kB / 481.6 MB, free: 48.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.2868, allocations: 26.17 kB / 481.6 MB, free: 48.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004195/0.2872, allocations: 378.5 kB / 482 MB, free: 48.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.2872, allocations: 6.547 kB / 482 MB, free: 48.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2873, allocations: 4.969 kB / 482 MB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2873, allocations: 3.219 kB / 482 MB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.2876, allocations: 282.1 kB / 482.3 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2876, allocations: 3.5 kB / 482.3 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.2877, allocations: 42.77 kB / 482.3 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2877, allocations: 2.031 kB / 482.3 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.2877, allocations: 8.609 kB / 482.3 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2877, allocations: 2.094 kB / 482.3 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2877, allocations: 4.906 kB / 482.3 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.2881, allocations: 0.6467 MB / 483 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.2882, allocations: 26.58 kB / 483 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.2882, allocations: 7.656 kB / 483 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2883, allocations: 17.66 kB / 483 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.2884, allocations: 30.16 kB / 483.1 MB, free: 47.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2884, allocations: 10.16 kB / 483.1 MB, free: 47.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.5e-05/0.2885, allocations: 129.8 kB / 483.2 MB, free: 47.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2885, allocations: 1.312 kB / 483.2 MB, free: 47.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002026/0.2905, allocations: 0.8109 MB / 484 MB, free: 47.64 MB / 410.7 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.00304/0.2935, allocations: 2.387 MB / 486.4 MB, free: 46.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004574/0.294, allocations: 272.4 kB / 486.7 MB, free: 46.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.294, allocations: 3.562 kB / 486.7 MB, free: 46.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.2942, allocations: 152.2 kB / 486.8 MB, free: 46.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.2947, allocations: 89.06 kB / 486.9 MB, free: 46.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.2974, allocations: 3.074 MB / 490 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.691e-05/0.2975, allocations: 138.2 kB / 490.1 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.2976, allocations: 50.77 kB / 490.2 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.2977, allocations: 71.06 kB / 490.2 MB, free: 44.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2977, allocations: 0 / 490.2 MB, free: 44.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04238/0.3401, allocations: 28.23 MB / 0.5063 GB, free: 27.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.901, allocations: 10.66 kB / 0.5063 GB, free: 27.79 MB / 410.7 MB " [Timeout remaining time 652] (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: 11.19913313165307] Failed to read output from testmodel.py, exit status != 0: 7.998185019008815 8.00669482 7.762352293 Calling exit ...