Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",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.0008471/0.0008473, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005411/0.005411, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.239/1.239, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.524/1.524, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004588/0.0004588, allocations: 13.28 kB / 0.6744 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1735, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0008542/0.1744, allocations: 0.575 MB / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001047/0.1745, allocations: 39.78 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.1745, allocations: 0 / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.1746, allocations: 3.938 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.041e-05/0.1747, allocations: 11.92 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.924e-05/0.1747, allocations: 23.98 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.413e-05/0.1748, allocations: 63.78 kB / 0.7887 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1749, allocations: 33.39 kB / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.653e-05/0.175, allocations: 27.81 kB / 0.7887 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.175, allocations: 19.8 kB / 0.7888 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.175, allocations: 0 / 0.7888 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-06/0.175, allocations: 4 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.1751, allocations: 11.92 kB / 0.7888 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.1751, allocations: 61.44 kB / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.175e-05/0.1752, allocations: 67.91 kB / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1752, allocations: 4 kB / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.644e-06/0.1752, allocations: 0 / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.1752, allocations: 4 kB / 0.7889 GB, free: 10.51 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003258/0.1756, allocations: 375.2 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1756, allocations: 8.031 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.1756, allocations: 42.73 kB / 0.7893 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.1757, allocations: 8.844 kB / 0.7893 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.1758, allocations: 204.1 kB / 0.7895 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1759, allocations: 8.281 kB / 0.7895 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.1759, allocations: 12.38 kB / 0.7895 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.176, allocations: 87.95 kB / 0.7896 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.176, allocations: 7.938 kB / 0.7896 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1761, allocations: 4 kB / 0.7896 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1761, allocations: 3.984 kB / 0.7896 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.531e-05/0.1761, allocations: 43.86 kB / 0.7897 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.1766, allocations: 448.5 kB / 0.7901 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.015e-05/0.1767, allocations: 50.39 kB / 0.7902 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.1767, allocations: 13.78 kB / 0.7902 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.1767, allocations: 0 / 0.7902 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1767, allocations: 34.56 kB / 0.7902 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1767, allocations: 0 / 0.7902 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.1769, allocations: 61.48 kB / 0.7903 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.1769, allocations: 85.03 kB / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.1771, allocations: 167.3 kB / 0.7905 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.1771, allocations: 29.7 kB / 0.7905 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.1772, allocations: 108 kB / 0.7906 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/0.1772, allocations: 3.906 kB / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.1772, allocations: 17.97 kB / 0.7907 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.1773, allocations: 322.8 kB / 0.791 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.1773, allocations: 4 kB / 0.791 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.1773, allocations: 17.72 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.163e-05/0.1774, allocations: 33.7 kB / 0.791 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1774, allocations: 0 / 0.791 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.603e-05/0.1775, allocations: 65.55 kB / 0.7911 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1775, allocations: 7.938 kB / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1775, allocations: 0 / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.1775, allocations: 0 / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.1776, allocations: 11.98 kB / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1776, allocations: 0 / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.1776, allocations: 3.906 kB / 0.7911 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1777, allocations: 4 kB / 0.7911 GB, free: 7.988 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.485e-05/0.1777, allocations: 121.8 kB / 0.7912 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.1778, allocations: 15.84 kB / 0.7912 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.1778, allocations: 16.55 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1778, allocations: 0 / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1778, allocations: 0 / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1778, allocations: 0 / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.1782, allocations: 474.8 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1782, allocations: 0 / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.1782, allocations: 8.062 kB / 0.7917 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1782, allocations: 3.938 kB / 0.7917 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1782, allocations: 3.984 kB / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1782, allocations: 4 kB / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1782, allocations: 0 / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.562e-05/0.1783, allocations: 81.75 kB / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.1784, allocations: 96.97 kB / 0.7919 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.1784, allocations: 0 / 0.7919 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.1784, allocations: 7.938 kB / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.1784, allocations: 4 kB / 0.7919 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.1785, allocations: 0 / 0.7919 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.634e-05/0.1785, allocations: 124 kB / 0.792 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1785, allocations: 0 / 0.792 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001741/0.1787, allocations: 8 kB / 0.792 GB, free: 6.926 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0002975/0.179, allocations: 0.6171 MB / 0.7926 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.883e-05/0.1791, allocations: 27.92 kB / 0.7927 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1791, allocations: 0 / 0.7927 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.1791, allocations: 4.219 kB / 0.7927 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.1793, allocations: 18.23 kB / 0.7927 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1803, allocations: 1.404 MB / 0.7941 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.1805, allocations: 0.6926 MB / 0.7947 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.1806, allocations: 8.422 kB / 0.7947 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.1806, allocations: 19.44 kB / 0.7948 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of SimCode: time 1.393e-06/0.1806, allocations: 0 / 0.7948 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.487/1.668, allocations: 1.463 MB / 0.7962 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/1.668, allocations: 211.7 kB / 0.7964 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/3.164, allocations: 0 / 0.7964 GB, free: 2.398 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)