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.001257/0.001257, 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.001396/0.001396, allocations: 213.5 kB / 22.25 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.789 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.002582/0.002582, allocations: 278.9 kB / 312.7 MB, free: 2.598 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.171/1.171, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.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.002892/0.002892, allocations: 109.8 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1908, allocations: 95.37 MB / 0.8326 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002694/0.1935, allocations: 1.397 MB / 0.834 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.1976, allocations: 2.764 MB / 0.8367 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.1976, allocations: 0 / 0.8367 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.192e-05/0.1977, allocations: 11.86 kB / 0.8367 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.1978, allocations: 39.81 kB / 0.8367 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.1984, allocations: 191.4 kB / 0.8369 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.1987, allocations: 239.5 kB / 0.8372 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.1988, allocations: 11.92 kB / 0.8372 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1989, allocations: 91.8 kB / 0.8373 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.199, allocations: 119.8 kB / 0.8374 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.1991, allocations: 12 kB / 0.8374 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.1995, allocations: 139.8 kB / 0.8375 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1996, allocations: 91.77 kB / 0.8376 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1997, allocations: 91.58 kB / 0.8377 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.2001, allocations: 275.1 kB / 0.8379 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2001, allocations: 0 / 0.8379 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2001, allocations: 3.938 kB / 0.838 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.2001, allocations: 0 / 0.838 GB, free: 2.879 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.201, allocations: 469.2 kB / 0.8384 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.201, allocations: 13.34 kB / 0.8384 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.2011, allocations: 54.73 kB / 0.8385 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.2012, allocations: 16.84 kB / 0.8385 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.2015, allocations: 178.3 kB / 0.8387 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.2015, allocations: 28.36 kB / 0.8387 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.2016, allocations: 16.38 kB / 0.8387 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.2022, allocations: 289.1 kB / 0.839 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2022, allocations: 0 / 0.839 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.2023, allocations: 4 kB / 0.839 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2023, allocations: 4 kB / 0.839 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.2038, allocations: 0.7217 MB / 0.8397 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.2042, allocations: 268.2 kB / 0.8399 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.2059, allocations: 0.641 MB / 0.8406 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.2064, allocations: 209.3 kB / 0.8408 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.2066, allocations: 79.89 kB / 0.8408 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.2067, allocations: 38.56 kB / 0.8409 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.2067, allocations: 3.938 kB / 0.8409 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001633/0.2083, allocations: 0.6651 MB / 0.8415 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.2084, allocations: 55.41 kB / 0.8416 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2085, allocations: 122.8 kB / 0.8417 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.2085, allocations: 29.7 kB / 0.8417 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.2086, allocations: 96.78 kB / 0.8418 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.2087, allocations: 122.9 kB / 0.8419 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.2089, allocations: 69.67 kB / 0.842 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.209, allocations: 330.8 kB / 0.8423 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.2095, allocations: 191.8 kB / 0.8425 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.21, allocations: 204.8 kB / 0.8427 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008902/0.2109, allocations: 360.9 kB / 0.843 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2109, allocations: 4 kB / 0.843 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001051/0.212, allocations: 464.6 kB / 0.8435 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.212, allocations: 11.98 kB / 0.8435 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.212, allocations: 0 / 0.8435 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.212, allocations: 0 / 0.8435 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.2124, allocations: 95.86 kB / 0.8436 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2124, allocations: 7.938 kB / 0.8436 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.2125, allocations: 55.73 kB / 0.8437 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.2126, allocations: 15.98 kB / 0.8437 GB, free: 12.83 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.0001464/0.2127, allocations: 138.4 kB / 0.8438 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.2128, allocations: 19.84 kB / 0.8438 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.214, allocations: 0.519 MB / 0.8443 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.214, allocations: 4 kB / 0.8443 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.214, allocations: 0 / 0.8443 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.214, allocations: 3.984 kB / 0.8443 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.2143, allocations: 264.5 kB / 0.8446 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2143, allocations: 3.938 kB / 0.8446 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.2147, allocations: 103.8 kB / 0.8447 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.2147, allocations: 4 kB / 0.8447 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.2147, allocations: 8 kB / 0.8447 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2147, allocations: 0 / 0.8447 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2147, allocations: 0 / 0.8447 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2159, allocations: 0.4923 MB / 0.8452 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.2159, allocations: 23.73 kB / 0.8452 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.216, allocations: 19.92 kB / 0.8452 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.2161, allocations: 35.97 kB / 0.8453 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/0.2164, allocations: 119.8 kB / 0.8454 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.2164, allocations: 15.98 kB / 0.8454 GB, free: 11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.318e-05/0.2165, allocations: 95.27 kB / 0.8455 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2165, allocations: 0 / 0.8455 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004061/0.2169, allocations: 119.8 kB / 0.8456 GB, free: 10.79 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.001738/0.2186, allocations: 1.123 MB / 0.8467 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.2197, allocations: 455.2 kB / 0.8471 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2197, allocations: 0 / 0.8471 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.2203, allocations: 244.6 kB / 0.8474 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.2207, allocations: 81.3 kB / 0.8474 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.225, allocations: 2.688 MB / 0.8501 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2251, allocations: 122.3 kB / 0.8502 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004474/0.2256, allocations: 192.6 kB / 0.8504 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.2257, allocations: 63.41 kB / 0.8504 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.2257, allocations: 0 / 0.8504 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03725/0.263, allocations: 8.425 MB / 0.8586 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.16, allocations: 2.031 kB / 0.8586 GB, free: 13.57 MB / 0.6075 GB " [Timeout remaining time 649] (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: 15.311848999001086] Failed to read output from testmodel.py, exit status != 0: 11.262556622270495 11.279492305 11.076264154 Calling exit ...