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.001357/0.001357, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001453/0.001453, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.809 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.002549/0.002549, allocations: 279.2 kB / 312.7 MB, free: 2.648 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.234/1.234, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.003151/0.003151, allocations: 102.1 kB / 0.7395 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1799, allocations: 95.38 MB / 0.8326 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002615/0.1826, allocations: 1.397 MB / 0.834 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004009/0.1866, allocations: 2.76 MB / 0.8367 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.1866, allocations: 0 / 0.8367 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.212e-05/0.1867, allocations: 15.86 kB / 0.8367 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.1868, allocations: 47.8 kB / 0.8367 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.1877, allocations: 179.4 kB / 0.8369 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.188, allocations: 247.5 kB / 0.8372 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.188, allocations: 7.938 kB / 0.8372 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1882, allocations: 95.8 kB / 0.8373 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1884, allocations: 119.8 kB / 0.8374 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.1884, allocations: 12 kB / 0.8374 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.1889, allocations: 147.8 kB / 0.8375 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.189, allocations: 87.75 kB / 0.8376 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1891, allocations: 79.72 kB / 0.8377 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.1895, allocations: 279.1 kB / 0.8379 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1895, allocations: 0 / 0.8379 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1895, allocations: 3.938 kB / 0.8379 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.1895, allocations: 0 / 0.8379 GB, free: 2.918 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.0009233/0.1905, allocations: 473.2 kB / 0.8384 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1905, allocations: 13.34 kB / 0.8384 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.724e-05/0.1906, allocations: 42.75 kB / 0.8385 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.1908, allocations: 20.83 kB / 0.8385 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1911, allocations: 182.3 kB / 0.8386 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.1911, allocations: 24.36 kB / 0.8387 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.1912, allocations: 12.38 kB / 0.8387 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.1918, allocations: 293.1 kB / 0.839 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1918, allocations: 4 kB / 0.839 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.1918, allocations: 4 kB / 0.839 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.1918, allocations: 4 kB / 0.839 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.1933, allocations: 0.7256 MB / 0.8397 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.1937, allocations: 264.2 kB / 0.8399 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.1953, allocations: 0.6409 MB / 0.8406 GB, free: 124 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.1959, allocations: 205.4 kB / 0.8408 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.1961, allocations: 87.88 kB / 0.8408 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.1962, allocations: 38.56 kB / 0.8409 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.1962, allocations: 3.938 kB / 0.8409 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001635/0.1978, allocations: 0.6534 MB / 0.8415 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1978, allocations: 55.41 kB / 0.8416 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.1979, allocations: 127.7 kB / 0.8417 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.198, allocations: 33.7 kB / 0.8417 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.198, allocations: 96.78 kB / 0.8418 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1982, allocations: 126.8 kB / 0.8419 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1983, allocations: 69.67 kB / 0.842 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1984, allocations: 322.8 kB / 0.8423 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.1989, allocations: 195.8 kB / 0.8425 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.1994, allocations: 196.8 kB / 0.8427 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009279/0.2003, allocations: 364.9 kB / 0.843 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2003, allocations: 0 / 0.843 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001087/0.2014, allocations: 472.6 kB / 0.8435 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2014, allocations: 4 kB / 0.8435 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2014, allocations: 0 / 0.8435 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2014, allocations: 4 kB / 0.8435 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.2018, allocations: 95.84 kB / 0.8436 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2018, allocations: 4 kB / 0.8436 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.202, allocations: 59.72 kB / 0.8436 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.202, allocations: 12 kB / 0.8437 GB, free: 12.88 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.0001322/0.2021, allocations: 138.4 kB / 0.8438 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.2022, allocations: 23.84 kB / 0.8438 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.2034, allocations: 0.5171 MB / 0.8443 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2034, allocations: 4 kB / 0.8443 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2034, allocations: 0 / 0.8443 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2034, allocations: 3.984 kB / 0.8443 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.2037, allocations: 276.5 kB / 0.8446 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.2037, allocations: 7.938 kB / 0.8446 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.2041, allocations: 91.86 kB / 0.8447 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2041, allocations: 0 / 0.8447 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.2041, allocations: 11.98 kB / 0.8447 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2041, allocations: 4 kB / 0.8447 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2041, allocations: 0 / 0.8447 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.2052, allocations: 0.4922 MB / 0.8452 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.2052, allocations: 31.73 kB / 0.8452 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.2053, allocations: 11.94 kB / 0.8452 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.2054, allocations: 35.95 kB / 0.8453 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.2057, allocations: 119.8 kB / 0.8454 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.2057, allocations: 16 kB / 0.8454 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.579e-05/0.2058, allocations: 101.5 kB / 0.8455 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2058, allocations: 0 / 0.8455 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000375/0.2062, allocations: 115.8 kB / 0.8456 GB, free: 10.82 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.00165/0.2078, allocations: 1.127 MB / 0.8467 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.2089, allocations: 455.2 kB / 0.8471 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2089, allocations: 0 / 0.8471 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.2095, allocations: 240.6 kB / 0.8474 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.2098, allocations: 81.47 kB / 0.8474 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.2142, allocations: 2.688 MB / 0.8501 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.2143, allocations: 118.3 kB / 0.8502 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000412/0.2147, allocations: 183.6 kB / 0.8503 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2149, allocations: 63.39 kB / 0.8504 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.2149, allocations: 0 / 0.8504 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.2497, allocations: 8.432 MB / 0.8586 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.07, allocations: 2.578 kB / 0.8586 GB, free: 13.61 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.272466809023172] Failed to read output from testmodel.py, exit status != 0: 11.176188942044973 11.197959662 11.004186782 Calling exit ...