Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001283/0.001283, allocations: 106.2 kB / 16.45 MB, free: 6.453 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.001494/0.001494, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.418/1.418, allocations: 230.6 MB / 252.8 MB, free: 8.934 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 293.2 kB / 309.1 MB, free: 3.934 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.185/1.185, allocations: 180.9 MB / 0.5333 GB, free: 13.76 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",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.002803/0.002803, allocations: 103.4 kB / 0.7342 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1707, allocations: 95.35 MB / 0.8273 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002549/0.1733, allocations: 1.409 MB / 0.8287 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003868/0.1772, allocations: 2.962 MB / 0.8316 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.1772, allocations: 0 / 0.8316 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.794e-05/0.1773, allocations: 7.922 kB / 0.8316 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1774, allocations: 39.81 kB / 0.8317 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.178, allocations: 191.4 kB / 0.8318 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.1782, allocations: 243.5 kB / 0.8321 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.1783, allocations: 7.922 kB / 0.8321 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.715e-05/0.1784, allocations: 91.91 kB / 0.8322 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1785, allocations: 127.7 kB / 0.8323 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.1786, allocations: 12 kB / 0.8323 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.1789, allocations: 135.8 kB / 0.8324 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.179, allocations: 91.81 kB / 0.8325 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1791, allocations: 91.59 kB / 0.8326 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.1795, allocations: 279.1 kB / 0.8329 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1795, allocations: 0 / 0.8329 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1795, allocations: 0 / 0.8329 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.1795, allocations: 0 / 0.8329 GB, free: 4.152 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008851/0.1804, allocations: 0.5412 MB / 0.8334 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1804, allocations: 12.03 kB / 0.8334 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.064e-05/0.1805, allocations: 42.75 kB / 0.8335 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.1806, allocations: 20.83 kB / 0.8335 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.1809, allocations: 236.1 kB / 0.8337 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.1809, allocations: 24.36 kB / 0.8337 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.1809, allocations: 16.36 kB / 0.8337 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.1816, allocations: 293.6 kB / 0.834 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1816, allocations: 0 / 0.834 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1817, allocations: 7.984 kB / 0.834 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1817, allocations: 4 kB / 0.834 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.1832, allocations: 0.7527 MB / 0.8348 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.1836, allocations: 313 kB / 0.8351 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.1854, allocations: 0.6456 MB / 0.8357 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.1859, allocations: 212.7 kB / 0.8359 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004333/0.1863, allocations: 392.3 kB / 0.8363 GB, free: 444 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1864, allocations: 42.5 kB / 0.8363 GB, free: 392 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.1864, allocations: 0 / 0.8363 GB, free: 392 kB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001736/0.1881, allocations: 0.646 MB / 0.8369 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.1881, allocations: 63.34 kB / 0.837 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1882, allocations: 122.1 kB / 0.8371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.1883, allocations: 37.69 kB / 0.8372 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.1883, allocations: 88.8 kB / 0.8372 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.1885, allocations: 126.9 kB / 0.8374 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.1886, allocations: 65.67 kB / 0.8374 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1887, allocations: 330.8 kB / 0.8377 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.1892, allocations: 199.8 kB / 0.8379 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.1897, allocations: 204.5 kB / 0.8381 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/0.1907, allocations: 360.5 kB / 0.8385 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1907, allocations: 4 kB / 0.8385 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001135/0.1918, allocations: 469 kB / 0.8389 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1918, allocations: 7.984 kB / 0.8389 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1918, allocations: 0 / 0.8389 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1918, allocations: 0 / 0.8389 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.1922, allocations: 95.86 kB / 0.839 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1922, allocations: 4 kB / 0.839 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.1924, allocations: 47.84 kB / 0.8391 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.1925, allocations: 19.98 kB / 0.8391 GB, free: 13.48 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.0001338/0.1926, allocations: 133.8 kB / 0.8392 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.1926, allocations: 19.84 kB / 0.8392 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.1939, allocations: 0.524 MB / 0.8397 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.1939, allocations: 4 kB / 0.8398 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1939, allocations: 3.984 kB / 0.8398 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1939, allocations: 4 kB / 0.8398 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.1943, allocations: 305.4 kB / 0.84 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1943, allocations: 3.938 kB / 0.8401 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.1946, allocations: 103.8 kB / 0.8402 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1947, allocations: 4 kB / 0.8402 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.1947, allocations: 8 kB / 0.8402 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1947, allocations: 0 / 0.8402 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1947, allocations: 3.984 kB / 0.8402 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.1958, allocations: 0.4927 MB / 0.8406 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.1959, allocations: 100.8 kB / 0.8407 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.1959, allocations: 19.92 kB / 0.8408 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1961, allocations: 35.97 kB / 0.8408 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.1964, allocations: 119.7 kB / 0.8409 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.1964, allocations: 8 kB / 0.8409 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.35e-05/0.1965, allocations: 111.2 kB / 0.841 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1965, allocations: 0 / 0.841 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000376/0.1968, allocations: 115.8 kB / 0.8411 GB, free: 11.28 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 (37): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.001681/0.1985, allocations: 1.123 MB / 0.8422 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.1996, allocations: 451.6 kB / 0.8427 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1996, allocations: 4 kB / 0.8427 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.2002, allocations: 243.7 kB / 0.8429 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.2006, allocations: 75.92 kB / 0.843 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.2049, allocations: 2.681 MB / 0.8456 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.2053, allocations: 0.7327 MB / 0.8463 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003959/0.2057, allocations: 184 kB / 0.8465 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.2058, allocations: 71.39 kB / 0.8465 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.2058, allocations: 0 / 0.8465 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.2373, allocations: 7.501 MB / 0.8539 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.24, allocations: 6.781 kB / 0.8539 GB, free: 14.33 MB / 0.6075 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_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_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.300418517086655] Failed to read output from testmodel.py, exit status != 0: 8.318043590988964 8.332648553 8.150305012 Calling exit ...