Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_8_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_8_Buildings_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.001311/0.001311, 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.001374/0.001374, allocations: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 70.92 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1604, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002101/0.1626, allocations: 1.42 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.1654, allocations: 2.869 MB / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.1655, allocations: 0 / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.85e-05/0.1656, allocations: 11.92 kB / 0.7877 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1657, allocations: 39.81 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.1662, allocations: 191.1 kB / 0.7879 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.1664, allocations: 239.5 kB / 0.7881 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.1665, allocations: 4 kB / 0.7881 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.208e-05/0.1666, allocations: 95.78 kB / 0.7882 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1667, allocations: 123.8 kB / 0.7883 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.1667, allocations: 8 kB / 0.7883 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.1671, allocations: 135.9 kB / 0.7885 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.1672, allocations: 83.81 kB / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1673, allocations: 99.56 kB / 0.7886 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.1676, allocations: 271.5 kB / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1676, allocations: 0 / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1676, allocations: 0 / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1676, allocations: 0 / 0.7889 GB, free: 7.781 MB / 0.6075 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.0007439/0.1684, allocations: 0.5416 MB / 0.7894 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1684, allocations: 8.031 kB / 0.7894 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.1685, allocations: 54.73 kB / 0.7895 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1686, allocations: 16.75 kB / 0.7895 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1688, allocations: 232.1 kB / 0.7897 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.1688, allocations: 24.36 kB / 0.7898 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.1689, allocations: 20.38 kB / 0.7898 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.1695, allocations: 296.8 kB / 0.7901 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1695, allocations: 0 / 0.7901 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.1695, allocations: 4 kB / 0.7901 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1696, allocations: 4 kB / 0.7901 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.1709, allocations: 0.7529 MB / 0.7908 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.1712, allocations: 312.9 kB / 0.7911 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.1728, allocations: 0.687 MB / 0.7918 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.1733, allocations: 232.7 kB / 0.792 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.1737, allocations: 392.3 kB / 0.7924 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.1737, allocations: 34.56 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.342e-06/0.1737, allocations: 0 / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001554/0.1753, allocations: 0.6456 MB / 0.793 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1753, allocations: 63.34 kB / 0.7931 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.767e-05/0.1754, allocations: 126.1 kB / 0.7932 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1754, allocations: 37.7 kB / 0.7932 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.1755, allocations: 84.8 kB / 0.7933 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.1756, allocations: 126.2 kB / 0.7934 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.1757, allocations: 65.69 kB / 0.7935 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.1758, allocations: 330.8 kB / 0.7938 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.1762, allocations: 191.8 kB / 0.794 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.1767, allocations: 195.5 kB / 0.7942 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008733/0.1776, allocations: 366.2 kB / 0.7945 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1776, allocations: 4 kB / 0.7945 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001025/0.1786, allocations: 464.6 kB / 0.795 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1786, allocations: 11.94 kB / 0.795 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1787, allocations: 0 / 0.795 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1787, allocations: 0 / 0.795 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.179, allocations: 91.91 kB / 0.7951 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.179, allocations: 7.938 kB / 0.7951 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.1792, allocations: 43.81 kB / 0.7951 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.1792, allocations: 19.98 kB / 0.7952 GB, free: 1.055 MB / 0.6075 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.0001014/0.1793, allocations: 137.8 kB / 0.7953 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.1794, allocations: 23.75 kB / 0.7953 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.1805, allocations: 0.5153 MB / 0.7958 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1805, allocations: 4 kB / 0.7958 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1806, allocations: 0 / 0.7958 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.1806, allocations: 0 / 0.7958 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.1809, allocations: 325.2 kB / 0.7961 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.1809, allocations: 208 / 0.7961 GB, free: 16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.1812, allocations: 99.8 kB / 0.7962 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1812, allocations: 7.938 kB / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.1813, allocations: 11.98 kB / 0.7962 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1813, allocations: 0 / 0.7962 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1813, allocations: 0 / 0.7962 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1823, allocations: 0.4961 MB / 0.7967 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1824, allocations: 100.7 kB / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.1824, allocations: 8 kB / 0.7968 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.1826, allocations: 39.95 kB / 0.7969 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.1828, allocations: 111.8 kB / 0.797 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.1829, allocations: 15.98 kB / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.1829, allocations: 99.27 kB / 0.7971 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1829, allocations: 0 / 0.7971 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003463/0.1833, allocations: 119.9 kB / 0.7972 GB, free: 14.86 MB / 0.6231 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.0015/0.1848, allocations: 1.119 MB / 0.7983 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.186, allocations: 0.55 MB / 0.7988 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.186, allocations: 0 / 0.7988 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.1865, allocations: 259.7 kB / 0.7991 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1869, allocations: 75.92 kB / 0.7991 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.1907, allocations: 2.671 MB / 0.8018 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1909, allocations: 0.7289 MB / 0.8025 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003926/0.1913, allocations: 183.6 kB / 0.8026 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.1915, allocations: 67.39 kB / 0.8027 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.1915, allocations: 0 / 0.8027 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.404/3.595, allocations: 7.37 MB / 0.8099 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/17.87, allocations: 7.875 kB / 0.8099 GB, free: 1.859 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)