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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 192.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002454/0.002454, allocations: 286.8 kB / 290.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 103.1 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1754, allocations: 89.15 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002697/0.1781, allocations: 1.376 MB / 0.6949 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003963/0.1821, allocations: 2.913 MB / 0.6978 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.1822, allocations: 0 / 0.6978 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.155e-05/0.1823, allocations: 11.92 kB / 0.6978 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.1824, allocations: 39.81 kB / 0.6978 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.1831, allocations: 187.1 kB / 0.698 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.1834, allocations: 243.5 kB / 0.6982 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.1834, allocations: 8.281 kB / 0.6982 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1836, allocations: 95.89 kB / 0.6983 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1837, allocations: 127.7 kB / 0.6985 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.1838, allocations: 8 kB / 0.6985 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.1842, allocations: 143.8 kB / 0.6986 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1843, allocations: 83.81 kB / 0.6987 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1844, allocations: 91.59 kB / 0.6988 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.1849, allocations: 271.3 kB / 0.699 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1849, allocations: 0 / 0.699 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1849, allocations: 0 / 0.699 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1849, allocations: 0 / 0.699 GB, free: 14.66 MB / 0.4981 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.0008937/0.1858, allocations: 0.5376 MB / 0.6996 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1858, allocations: 16.02 kB / 0.6996 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.1859, allocations: 42.75 kB / 0.6996 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.186, allocations: 20.73 kB / 0.6996 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1863, allocations: 236.1 kB / 0.6999 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.1863, allocations: 24.36 kB / 0.6999 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1864, allocations: 12.38 kB / 0.6999 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.1871, allocations: 297.6 kB / 0.7002 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1871, allocations: 0 / 0.7002 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.1871, allocations: 8 kB / 0.7002 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1871, allocations: 3.938 kB / 0.7002 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.1887, allocations: 0.7527 MB / 0.7009 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.1891, allocations: 309.2 kB / 0.7012 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.191, allocations: 0.6754 MB / 0.7019 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/0.1915, allocations: 236.6 kB / 0.7021 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004694/0.192, allocations: 392.3 kB / 0.7025 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.192, allocations: 39.5 kB / 0.7025 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.793e-06/0.192, allocations: 0 / 0.7025 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001711/0.1938, allocations: 0.6498 MB / 0.7031 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1939, allocations: 55.41 kB / 0.7032 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.194, allocations: 122.1 kB / 0.7033 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.1941, allocations: 33.7 kB / 0.7033 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.141e-05/0.1941, allocations: 88.78 kB / 0.7034 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.1943, allocations: 122.2 kB / 0.7036 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.1944, allocations: 69.67 kB / 0.7036 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1945, allocations: 330.8 kB / 0.7039 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.1951, allocations: 199.7 kB / 0.7041 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.1956, allocations: 207.6 kB / 0.7043 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009439/0.1966, allocations: 360.9 kB / 0.7047 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1966, allocations: 0 / 0.7047 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001123/0.1977, allocations: 464.6 kB / 0.7051 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1977, allocations: 9.078 kB / 0.7051 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1977, allocations: 0 / 0.7051 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1978, allocations: 4 kB / 0.7051 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.1981, allocations: 95.86 kB / 0.7052 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1982, allocations: 0 / 0.7052 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.1984, allocations: 51.8 kB / 0.7053 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.1984, allocations: 15.98 kB / 0.7053 GB, free: 7.949 MB / 0.4981 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.0001444/0.1985, allocations: 137.8 kB / 0.7054 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/0.1986, allocations: 19.75 kB / 0.7054 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.1999, allocations: 0.5289 MB / 0.7059 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.1999, allocations: 4 kB / 0.7059 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1999, allocations: 0 / 0.7059 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2, allocations: 3.984 kB / 0.706 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.2003, allocations: 309.3 kB / 0.7062 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2004, allocations: 3.938 kB / 0.7062 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.2007, allocations: 99.84 kB / 0.7063 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2007, allocations: 4 kB / 0.7063 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.2008, allocations: 8 kB / 0.7064 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2008, allocations: 0 / 0.7064 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2008, allocations: 3.938 kB / 0.7064 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.202, allocations: 0.4928 MB / 0.7068 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.2021, allocations: 96.8 kB / 0.7069 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.2021, allocations: 11.98 kB / 0.7069 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.2023, allocations: 31.97 kB / 0.707 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.2025, allocations: 123.7 kB / 0.7071 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.2026, allocations: 12 kB / 0.7071 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.262e-05/0.2027, allocations: 106.2 kB / 0.7072 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2027, allocations: 4 kB / 0.7072 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003955/0.2031, allocations: 107.9 kB / 0.7073 GB, free: 5.77 MB / 0.4981 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.001855/0.2049, allocations: 1.123 MB / 0.7084 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.2063, allocations: 0.5539 MB / 0.709 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2063, allocations: 4 kB / 0.709 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000611/0.2069, allocations: 259.4 kB / 0.7092 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.2074, allocations: 83.86 kB / 0.7093 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.212, allocations: 2.649 MB / 0.7119 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.2123, allocations: 0.7328 MB / 0.7126 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004302/0.2128, allocations: 186.9 kB / 0.7128 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.2129, allocations: 63.41 kB / 0.7128 GB, free: 16 kB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.2129, allocations: 4 kB / 0.7128 GB, free: 12 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.2434, allocations: 7.391 MB / 0.72 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/7.644, allocations: 15.72 kB / 0.7201 GB, free: 8.801 MB / 0.5137 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)