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.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 189.9 kB / 16.14 MB, free: 6.707 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.164/1.164, allocations: 205.1 MB / 222 MB, free: 4.75 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.445/1.445, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001225/0.001225, allocations: 62.94 kB / 0.6709 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1582, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002146/0.1604, allocations: 1.504 MB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1632, allocations: 2.869 MB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.1632, allocations: 0 / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.584e-05/0.1633, allocations: 3.984 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/0.1634, allocations: 47.8 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.1638, allocations: 159.4 kB / 0.7873 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.164, allocations: 327.4 kB / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.726e-05/0.1641, allocations: 7.984 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.1641, allocations: 95.78 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1643, allocations: 127.8 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.1643, allocations: 12 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.1646, allocations: 151.8 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.815e-05/0.1647, allocations: 91.69 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.114e-05/0.1648, allocations: 99.62 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.1651, allocations: 267.5 kB / 0.7884 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1651, allocations: 0 / 0.7884 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.81e-07/0.1651, allocations: 0 / 0.7884 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.1651, allocations: 0 / 0.7884 GB, free: 8.184 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.0006736/0.1658, allocations: 0.53 MB / 0.7889 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.1658, allocations: 8.031 kB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.1659, allocations: 54.67 kB / 0.789 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/0.166, allocations: 20.69 kB / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.1662, allocations: 240.1 kB / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.1662, allocations: 24.3 kB / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.1663, allocations: 16.38 kB / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.1668, allocations: 296.8 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1669, allocations: 0 / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1669, allocations: 4 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1669, allocations: 4 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.1682, allocations: 0.7491 MB / 0.7903 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.1685, allocations: 313 kB / 0.7906 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.1699, allocations: 0.6753 MB / 0.7912 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.1703, allocations: 236.6 kB / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/0.1707, allocations: 392.3 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1707, allocations: 34.56 kB / 0.7919 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.283e-06/0.1707, allocations: 0 / 0.7919 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001404/0.1721, allocations: 0.6544 MB / 0.7925 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.1722, allocations: 55.41 kB / 0.7925 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.1722, allocations: 129.6 kB / 0.7927 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.1723, allocations: 33.7 kB / 0.7927 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.1723, allocations: 84.8 kB / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.1724, allocations: 134 kB / 0.7929 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.1725, allocations: 65.69 kB / 0.793 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.1726, allocations: 334.8 kB / 0.7933 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.173, allocations: 191.8 kB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.1734, allocations: 199.6 kB / 0.7937 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.1742, allocations: 365.2 kB / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1742, allocations: 0 / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000918/0.1751, allocations: 468.6 kB / 0.7945 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1752, allocations: 4 kB / 0.7945 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1752, allocations: 0 / 0.7945 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.1752, allocations: 0 / 0.7945 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.1755, allocations: 103.8 kB / 0.7946 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1755, allocations: 0 / 0.7946 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.1757, allocations: 47.81 kB / 0.7946 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.1757, allocations: 19.92 kB / 0.7946 GB, free: 1.461 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.0001119/0.1758, allocations: 141.8 kB / 0.7948 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.1759, allocations: 19.75 kB / 0.7948 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.1769, allocations: 0.5105 MB / 0.7953 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.177, allocations: 4 kB / 0.7953 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.177, allocations: 0 / 0.7953 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.177, allocations: 7.984 kB / 0.7953 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.1773, allocations: 317.2 kB / 0.7956 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1773, allocations: 3.938 kB / 0.7956 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.1776, allocations: 95.86 kB / 0.7957 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.1776, allocations: 4 kB / 0.7957 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.1776, allocations: 11.98 kB / 0.7957 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1776, allocations: 0 / 0.7957 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1776, allocations: 0 / 0.7957 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009609/0.1786, allocations: 0.4962 MB / 0.7962 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.1786, allocations: 100.7 kB / 0.7963 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.1787, allocations: 8 kB / 0.7963 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.1788, allocations: 35.95 kB / 0.7963 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.179, allocations: 115.8 kB / 0.7964 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.1791, allocations: 15.98 kB / 0.7965 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.842e-05/0.1791, allocations: 103.3 kB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1791, allocations: 4 kB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003144/0.1794, allocations: 115.9 kB / 0.7967 GB, free: 15.27 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.001364/0.1808, allocations: 1.111 MB / 0.7978 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000897/0.1817, allocations: 467.2 kB / 0.7982 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1817, allocations: 4 kB / 0.7982 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.1822, allocations: 259.7 kB / 0.7985 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1826, allocations: 73.89 kB / 0.7985 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.186, allocations: 2.717 MB / 0.8012 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.1863, allocations: 0.737 MB / 0.8019 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003789/0.1867, allocations: 195.6 kB / 0.8021 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1868, allocations: 63.41 kB / 0.8021 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.1868, allocations: 0 / 0.8021 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07689/0.2637, allocations: 6.873 MB / 0.8089 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.2639, allocations: 200.4 kB / 0.809 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.096, allocations: 0 / 0.809 GB, free: 2.582 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)