Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.001258/0.001258, 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.001413/0.001413, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.965 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.002729/0.002729, allocations: 279.7 kB / 312.7 MB, free: 2.793 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.287/1.287, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",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.002909/0.002909, allocations: 108.7 kB / 0.7396 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1984, allocations: 95.38 MB / 0.8328 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.007768/0.2062, allocations: 4.845 MB / 0.8375 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003872/0.21, allocations: 2.73 MB / 0.8402 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.2102, allocations: 11.94 kB / 0.8402 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.2106, allocations: 43.69 kB / 0.8402 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.2109, allocations: 95.41 kB / 0.8403 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.2126, allocations: 0.53 MB / 0.8408 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000336/0.213, allocations: 228 kB / 0.841 GB, free: 72 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.832e-05/0.213, allocations: 17.73 kB / 0.8411 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.2133, allocations: 119.5 kB / 0.8412 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.2135, allocations: 87.66 kB / 0.8413 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.2135, allocations: 8 kB / 0.8413 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009375/0.2144, allocations: 395.2 kB / 0.8416 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.172e-05/0.2145, allocations: 39.83 kB / 0.8417 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.2146, allocations: 79.66 kB / 0.8418 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006418/0.2153, allocations: 375 kB / 0.8421 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2153, allocations: 8 kB / 0.8421 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2153, allocations: 0 / 0.8421 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2153, allocations: 0 / 0.8421 GB, free: 14.96 MB / 0.5919 GB 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.0009261/0.2162, allocations: 441.4 kB / 0.8425 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.2163, allocations: 13.34 kB / 0.8426 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.353e-05/0.2163, allocations: 50.73 kB / 0.8426 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.2165, allocations: 24.83 kB / 0.8426 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.2168, allocations: 154.3 kB / 0.8428 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.2168, allocations: 16.7 kB / 0.8428 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.2169, allocations: 20.3 kB / 0.8428 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.2173, allocations: 260.6 kB / 0.8431 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2173, allocations: 0 / 0.8431 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.2173, allocations: 8 kB / 0.8431 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.2174, allocations: 8 kB / 0.8431 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.218, allocations: 451.3 kB / 0.8435 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.2193, allocations: 0.9128 MB / 0.8444 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.2196, allocations: 161.2 kB / 0.8445 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2197, allocations: 56.88 kB / 0.8446 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009154/0.2206, allocations: 459.9 kB / 0.845 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2207, allocations: 42.5 kB / 0.8451 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.2207, allocations: 0 / 0.8451 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0004643/0.2211, allocations: 151.1 kB / 0.8452 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.2212, allocations: 55.41 kB / 0.8453 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.2214, allocations: 175.9 kB / 0.8454 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.2214, allocations: 33.69 kB / 0.8455 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.2215, allocations: 140.1 kB / 0.8456 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.2216, allocations: 55.58 kB / 0.8457 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.2216, allocations: 53.66 kB / 0.8457 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.2218, allocations: 326.8 kB / 0.846 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.2219, allocations: 35.98 kB / 0.8461 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.2221, allocations: 147.4 kB / 0.8462 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.2223, allocations: 199.7 kB / 0.8464 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2223, allocations: 4 kB / 0.8464 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003433/0.2227, allocations: 209.7 kB / 0.8466 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2227, allocations: 5.875 kB / 0.8466 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.2227, allocations: 8.031 kB / 0.8466 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.2227, allocations: 11.94 kB / 0.8466 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.2229, allocations: 51.91 kB / 0.8467 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2229, allocations: 4 kB / 0.8467 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.223, allocations: 31.73 kB / 0.8467 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.2231, allocations: 16 kB / 0.8467 GB, free: 9.895 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.0001351/0.2232, allocations: 137.7 kB / 0.8468 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.2232, allocations: 15.89 kB / 0.8469 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.2236, allocations: 166.8 kB / 0.847 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.2236, allocations: 7.922 kB / 0.847 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2236, allocations: 0 / 0.847 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2236, allocations: 0 / 0.847 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.2239, allocations: 184.7 kB / 0.8472 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2239, allocations: 0 / 0.8472 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/0.224, allocations: 27.98 kB / 0.8472 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.224, allocations: 0 / 0.8472 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.224, allocations: 3.938 kB / 0.8472 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.224, allocations: 3.938 kB / 0.8472 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.224, allocations: 4 kB / 0.8472 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2243, allocations: 230.5 kB / 0.8475 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.2243, allocations: 27.88 kB / 0.8475 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.2244, allocations: 8 kB / 0.8475 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.2246, allocations: 15.92 kB / 0.8475 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.2246, allocations: 15.92 kB / 0.8475 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.2246, allocations: 11.92 kB / 0.8475 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001186/0.2247, allocations: 124 kB / 0.8477 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2247, allocations: 0 / 0.8477 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004444/0.2252, allocations: 79.88 kB / 0.8477 GB, free: 8.781 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0008874/0.2261, allocations: 0.8254 MB / 0.8485 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.2263, allocations: 111.8 kB / 0.8486 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2263, allocations: 0.9375 kB / 0.8486 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.947e-05/0.2264, allocations: 46.86 kB / 0.8487 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.2268, allocations: 63.83 kB / 0.8488 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.2295, allocations: 2.036 MB / 0.8507 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.2299, allocations: 0.7167 MB / 0.8514 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000162/0.2301, allocations: 49.8 kB / 0.8515 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.2302, allocations: 47.42 kB / 0.8515 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.2302, allocations: 0 / 0.8515 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03762/0.2678, allocations: 5.583 MB / 0.857 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.12, allocations: 11.47 kB / 0.857 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.WaterProperties_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_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.668273134000628] Failed to read output from testmodel.py, exit status != 0: 11.223432558002969 11.250226765 11.029967176 Calling exit ...