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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 100.3 kB / 16.35 MB, free: 6.348 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.001041/0.001041, allocations: 197.4 kB / 17.29 MB, free: 5.93 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.464/1.464, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.813/1.813, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001484/0.001484, allocations: 82.86 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2383, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002427/0.2408, allocations: 0.8493 MB / 0.7856 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.2409, allocations: 47.72 kB / 0.7857 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.241, allocations: 0 / 0.7857 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.241, allocations: 11.86 kB / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.69e-05/0.2411, allocations: 11.88 kB / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.524e-05/0.2412, allocations: 15.98 kB / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.2413, allocations: 67.83 kB / 0.7858 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.2414, allocations: 41.39 kB / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.2415, allocations: 31.8 kB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.2415, allocations: 39.78 kB / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.2415, allocations: 4 kB / 0.7859 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.2416, allocations: 8 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.2416, allocations: 15.94 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.2416, allocations: 43.72 kB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.2417, allocations: 83.52 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2418, allocations: 0 / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2418, allocations: 4 kB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2418, allocations: 0 / 0.786 GB, free: 1.891 MB / 0.6544 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.0004346/0.2422, allocations: 387.1 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2422, allocations: 12.03 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.2423, allocations: 12.75 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.2425, allocations: 192.2 kB / 0.7866 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2425, allocations: 8.375 kB / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.2425, allocations: 8.312 kB / 0.7866 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.2427, allocations: 94.91 kB / 0.7867 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2427, allocations: 4.188 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2427, allocations: 11.94 kB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2427, allocations: 0 / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.332e-05/0.2428, allocations: 43.86 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.2433, allocations: 444.6 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.355e-05/0.2434, allocations: 41.25 kB / 0.7872 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.2434, allocations: 17.78 kB / 0.7872 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.2434, allocations: 0 / 0.7872 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.2435, allocations: 30.56 kB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2435, allocations: 0 / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.2436, allocations: 65.47 kB / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.2437, allocations: 81.36 kB / 0.7874 GB, free: 264 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.2438, allocations: 165.5 kB / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2439, allocations: 25.7 kB / 0.7876 GB, free: 56 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4161/0.66, allocations: 110.1 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.66, allocations: 5.375 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.6601, allocations: 18.41 kB / 0.7877 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.6601, allocations: 317.9 kB / 0.788 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.655e-05/0.6602, allocations: 8.141 kB / 0.788 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.6602, allocations: 23.16 kB / 0.788 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.426e-05/0.6603, allocations: 27.03 kB / 0.7881 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.6603, allocations: 2.25 kB / 0.7881 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/0.6604, allocations: 63.67 kB / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.6604, allocations: 8.031 kB / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.6605, allocations: 7.469 kB / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.6605, allocations: 2.656 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.6606, allocations: 11.59 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.6606, allocations: 0 / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.6606, allocations: 7.547 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.6607, allocations: 2.281 kB / 0.7882 GB, free: 48.22 MB / 0.6544 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.605e-05/0.6607, allocations: 117.5 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.6608, allocations: 9.172 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.6608, allocations: 19.25 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6608, allocations: 3.938 kB / 0.7883 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6608, allocations: 0 / 0.7883 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6608, allocations: 1.172 kB / 0.7883 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.6612, allocations: 483.2 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6612, allocations: 0 / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/0.6613, allocations: 4.812 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6613, allocations: 2.875 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.6613, allocations: 0 / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6613, allocations: 0 / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6613, allocations: 2.062 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.06e-05/0.6614, allocations: 86.27 kB / 0.7889 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.6614, allocations: 94 kB / 0.789 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.6614, allocations: 7 kB / 0.789 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.915e-05/0.6615, allocations: 0.5312 kB / 0.789 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.6615, allocations: 2.688 kB / 0.789 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.6615, allocations: 2.906 kB / 0.789 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.197e-05/0.6616, allocations: 128.5 kB / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6616, allocations: 0 / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002144/0.6618, allocations: 11.81 kB / 0.7891 GB, free: 47.39 MB / 0.6544 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.0001131/0.6619, allocations: 97.78 kB / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.735e-05/0.662, allocations: 24.61 kB / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.662, allocations: 0 / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.126e-05/0.662, allocations: 6.062 kB / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.6622, allocations: 11.47 kB / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.6625, allocations: 168.8 kB / 0.7894 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.6626, allocations: 0.7012 MB / 0.7901 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.6627, allocations: 10.58 kB / 0.7901 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.6627, allocations: 12.28 kB / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.6627, allocations: 0 / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.002508/0.6652, allocations: 480.5 kB / 0.7906 GB, free: 46.46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)