Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 106.9 kB / 16.36 MB, free: 6.48 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.00179/0.00179, allocations: 193.7 kB / 17.3 MB, free: 5.824 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.423/1.423, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.802/1.802, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001516/0.001516, allocations: 72.47 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2373, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002731/0.24, allocations: 0.8406 MB / 0.7856 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000172/0.2402, allocations: 43.78 kB / 0.7857 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.923e-05/0.2404, allocations: 4 kB / 0.7857 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.564e-05/0.2404, allocations: 11.86 kB / 0.7857 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.2406, allocations: 11.88 kB / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.656e-05/0.2407, allocations: 23.92 kB / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.2409, allocations: 63.83 kB / 0.7858 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.241, allocations: 45.33 kB / 0.7858 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.764e-05/0.2411, allocations: 27.86 kB / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.2412, allocations: 31.8 kB / 0.7859 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.2412, allocations: 7.938 kB / 0.7859 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.2413, allocations: 8 kB / 0.7859 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.2413, allocations: 19.91 kB / 0.7859 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.2413, allocations: 35.8 kB / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.2415, allocations: 87.56 kB / 0.786 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2415, allocations: 4 kB / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2415, allocations: 0 / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2415, allocations: 0 / 0.786 GB, free: 1.934 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.0005547/0.2421, allocations: 387.1 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2421, allocations: 12.03 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.2422, allocations: 12.75 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.2424, allocations: 192.2 kB / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2424, allocations: 4.375 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.2425, allocations: 16.38 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.2426, allocations: 94.69 kB / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2427, allocations: 192 / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.2427, allocations: 15.92 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.2427, allocations: 0 / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.2428, allocations: 39.92 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.2434, allocations: 448.5 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.2435, allocations: 33.16 kB / 0.7872 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.2435, allocations: 17.84 kB / 0.7872 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.2435, allocations: 0 / 0.7872 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.2436, allocations: 42.59 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2436, allocations: 0 / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001778/0.2438, allocations: 65.47 kB / 0.7873 GB, free: 400 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.2438, allocations: 77.11 kB / 0.7874 GB, free: 304 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.244, allocations: 165.5 kB / 0.7876 GB, free: 128 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.244, allocations: 25.7 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.411/0.655, allocations: 107.7 kB / 0.7877 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.6551, allocations: 9.234 kB / 0.7877 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.6552, allocations: 19.16 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.6552, allocations: 322.1 kB / 0.788 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.748e-05/0.6553, allocations: 4.047 kB / 0.788 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.6553, allocations: 25.5 kB / 0.7881 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.6554, allocations: 28.33 kB / 0.7881 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6554, allocations: 0 / 0.7881 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001205/0.6555, allocations: 66.31 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6555, allocations: 5.781 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6555, allocations: 4.594 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.6556, allocations: 1.312 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.6557, allocations: 10.84 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.6557, allocations: 0.5625 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/0.6557, allocations: 5.812 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.6557, allocations: 2.844 kB / 0.7882 GB, free: 48.1 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.238e-05/0.6558, allocations: 113.8 kB / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.6559, allocations: 13.06 kB / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.6559, allocations: 12.62 kB / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6559, allocations: 2.719 kB / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.6559, allocations: 3.938 kB / 0.7883 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6559, allocations: 0 / 0.7883 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.6563, allocations: 481.6 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6563, allocations: 3.172 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.6563, allocations: 9.094 kB / 0.7888 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.6563, allocations: 0 / 0.7888 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.6563, allocations: 0.5938 kB / 0.7888 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6563, allocations: 2.625 kB / 0.7888 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6563, allocations: 1.969 kB / 0.7888 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.638e-05/0.6564, allocations: 84.17 kB / 0.7889 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.6565, allocations: 98.11 kB / 0.789 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.6565, allocations: 2.844 kB / 0.789 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.584e-05/0.6565, allocations: 1.75 kB / 0.789 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.6565, allocations: 0 / 0.789 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.6565, allocations: 2.656 kB / 0.789 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.607e-05/0.6566, allocations: 129 kB / 0.7891 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6566, allocations: 3.344 kB / 0.7891 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002116/0.6568, allocations: 7.469 kB / 0.7891 GB, free: 47.27 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 9.439e-05/0.6569, allocations: 99.92 kB / 0.7892 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.487e-05/0.657, allocations: 24.88 kB / 0.7892 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.657, allocations: 3.125 kB / 0.7892 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.6571, allocations: 7.375 kB / 0.7892 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.6572, allocations: 17.59 kB / 0.7893 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.6575, allocations: 159.9 kB / 0.7894 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.6576, allocations: 0.6991 MB / 0.7901 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3e-05/0.6577, allocations: 6.859 kB / 0.7901 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.6577, allocations: 10.28 kB / 0.7901 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.6577, allocations: 0.625 kB / 0.7901 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.002402/0.6601, allocations: 488.4 kB / 0.7906 GB, free: 46.35 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)