Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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.001248/0.001248, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001534/0.001534, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002513/0.002513, allocations: 280.9 kB / 312.7 MB, free: 2.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.198/1.198, allocations: 180.6 MB / 0.5369 GB, free: 14.62 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 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.00289/0.00289, allocations: 106.2 kB / 0.7395 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1916, allocations: 95.37 MB / 0.8326 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.157/0.3485, allocations: 119.6 MB / 0.9495 GB, free: 280 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02961/0.3782, allocations: 20.24 MB / 0.9692 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.3784, allocations: 4 kB / 0.9692 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.3787, allocations: 43.69 kB / 0.9693 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.3791, allocations: 95.36 kB / 0.9694 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01761/0.3967, allocations: 6.937 MB / 0.9761 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.3971, allocations: 247.9 kB / 0.9764 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.3971, allocations: 9.734 kB / 0.9764 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.3975, allocations: 147.4 kB / 0.9765 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.3976, allocations: 91.58 kB / 0.9766 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.3976, allocations: 8 kB / 0.9766 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4111/0.8087, allocations: 11.1 MB / 0.9875 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.8089, allocations: 40.27 kB / 0.9875 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.809, allocations: 71.92 kB / 0.9876 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.8234, allocations: 6.477 MB / 0.9939 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8234, allocations: 0.5 kB / 0.9939 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8234, allocations: 1.062 kB / 0.9939 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.8234, allocations: 1.031 kB / 0.9939 GB, free: 8.859 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005686/0.8291, allocations: 1.166 MB / 0.995 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.8291, allocations: 11.84 kB / 0.995 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.8292, allocations: 55.89 kB / 0.9951 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.8304, allocations: 85.52 kB / 0.9952 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.8307, allocations: 172.1 kB / 0.9953 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.8307, allocations: 14.62 kB / 0.9954 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.8307, allocations: 21.95 kB / 0.9954 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.832, allocations: 0.6654 MB / 0.996 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.832, allocations: 1.469 kB / 0.996 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.832, allocations: 6.031 kB / 0.996 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.832, allocations: 5.219 kB / 0.996 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.8332, allocations: 0.6101 MB / 0.9966 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000871/0.834, allocations: 0.7369 MB / 0.9974 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.8348, allocations: 234.5 kB / 0.9976 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.8349, allocations: 66.05 kB / 0.9976 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07934/0.9142, allocations: 23.36 MB / 1.02 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.9142, allocations: 36.66 kB / 1.02 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.9142, allocations: 0 / 1.02 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.001569/0.9158, allocations: 422.5 kB / 1.021 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.9158, allocations: 58.31 kB / 1.021 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.9159, allocations: 139.8 kB / 1.021 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.916, allocations: 33.27 kB / 1.021 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.916, allocations: 115.5 kB / 1.021 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.9161, allocations: 87.8 kB / 1.021 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.9162, allocations: 81.2 kB / 1.021 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9163, allocations: 329.8 kB / 1.022 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.9165, allocations: 79.64 kB / 1.022 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.9166, allocations: 131 kB / 1.022 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.917, allocations: 217.3 kB / 1.022 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.917, allocations: 4 kB / 1.022 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006539/0.9177, allocations: 298.6 kB / 1.022 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.9177, allocations: 7.828 kB / 1.022 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9177, allocations: 0 / 1.022 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9177, allocations: 2.5 kB / 1.022 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.918, allocations: 83.28 kB / 1.022 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.918, allocations: 2.625 kB / 1.022 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.9181, allocations: 19.88 kB / 1.023 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.9182, allocations: 34.88 kB / 1.023 GB, free: 20.57 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001283/0.9183, allocations: 128.2 kB / 1.023 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.9185, allocations: 22.88 kB / 1.023 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.9203, allocations: 2.482 MB / 1.025 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.9204, allocations: 12.33 kB / 1.025 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9204, allocations: 1.203 kB / 1.025 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9204, allocations: 2.859 kB / 1.025 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.9229, allocations: 3.585 MB / 1.029 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.9229, allocations: 0 / 1.029 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.9231, allocations: 58.11 kB / 1.029 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.9231, allocations: 0 / 1.029 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.9231, allocations: 15.25 kB / 1.029 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.9231, allocations: 0 / 1.029 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9231, allocations: 0 / 1.029 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.9238, allocations: 0.5614 MB / 1.029 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.9239, allocations: 63.08 kB / 1.029 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.9239, allocations: 9.906 kB / 1.029 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.9241, allocations: 15.33 kB / 1.029 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.9242, allocations: 18.64 kB / 1.029 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.9242, allocations: 17.7 kB / 1.029 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.807e-05/0.9243, allocations: 110.4 kB / 1.029 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9243, allocations: 2.188 kB / 1.029 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006031/0.9303, allocations: 1.708 MB / 1.031 GB, free: 19.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01025/0.9405, allocations: 2.968 MB / 1.034 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000638/0.9412, allocations: 322 kB / 1.034 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9412, allocations: 0 / 1.034 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.9414, allocations: 197.2 kB / 1.035 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.942, allocations: 57.64 kB / 1.035 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006364/0.9484, allocations: 3.11 MB / 1.038 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.9485, allocations: 159.3 kB / 1.038 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004775/0.949, allocations: 414.4 kB / 1.038 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.9491, allocations: 96.86 kB / 1.038 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.9491, allocations: 0 / 1.038 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/1.07, allocations: 64.25 MB / 1.101 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.69, allocations: 10.34 kB / 1.101 GB, free: 5.094 MB / 0.7794 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.941787148825824] Failed to read output from testmodel.py, exit status != 0: 15.856593954842538 15.872542282 15.045752684 Calling exit ...