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.001124/0.001124, allocations: 112.2 kB / 16.37 MB, free: 6 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.001226/0.001227, allocations: 191.9 kB / 17.31 MB, free: 5.617 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.471/1.471, 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.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001444/0.001445, allocations: 67.91 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2392, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00213/0.2414, allocations: 0.8438 MB / 0.7856 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001211/0.2415, allocations: 55.72 kB / 0.7857 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.2416, allocations: 0 / 0.7857 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.2416, allocations: 7.875 kB / 0.7857 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.01e-05/0.2418, allocations: 7.875 kB / 0.7857 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.731e-05/0.2418, allocations: 19.97 kB / 0.7857 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.2419, allocations: 71.78 kB / 0.7858 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.2421, allocations: 45.38 kB / 0.7858 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.878e-05/0.2422, allocations: 27.86 kB / 0.7858 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.643e-05/0.2422, allocations: 31.78 kB / 0.7859 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2422, allocations: 8 kB / 0.7859 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.2423, allocations: 8 kB / 0.7859 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.2423, allocations: 19.86 kB / 0.7859 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.2423, allocations: 35.81 kB / 0.7859 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.2425, allocations: 87.56 kB / 0.786 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2425, allocations: 0 / 0.786 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2425, allocations: 0 / 0.786 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.2425, allocations: 0 / 0.786 GB, free: 1.945 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.0004509/0.243, allocations: 387.1 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.243, allocations: 8.031 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.243, allocations: 20.75 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.2433, allocations: 196.1 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2433, allocations: 8.375 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.2433, allocations: 8.375 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.2435, allocations: 91.94 kB / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2435, allocations: 192 / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2435, allocations: 11.88 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2435, allocations: 4 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.2436, allocations: 35.98 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.2442, allocations: 448.5 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.195e-05/0.2443, allocations: 37.28 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.2443, allocations: 17.84 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.2443, allocations: 11.92 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.2443, allocations: 38.5 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2443, allocations: 0 / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.2445, allocations: 57.55 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.2446, allocations: 81.05 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2448, allocations: 169.5 kB / 0.7876 GB, free: 128 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2448, allocations: 29.89 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.3798/0.6245, allocations: 110.6 kB / 0.7877 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.6246, allocations: 4.453 kB / 0.7877 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.6246, allocations: 16.98 kB / 0.7877 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.6247, allocations: 319.6 kB / 0.788 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.6247, allocations: 6.375 kB / 0.7881 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.6248, allocations: 20.12 kB / 0.7881 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.6248, allocations: 31.42 kB / 0.7881 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.6248, allocations: 0 / 0.7881 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001116/0.6249, allocations: 60.95 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.625, allocations: 9.219 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.625, allocations: 4.406 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.625, allocations: 2.625 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-05/0.6251, allocations: 8.531 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6251, allocations: 2.156 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.6251, allocations: 9.375 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.6252, allocations: 0 / 0.7882 GB, free: 48.25 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 5.811e-05/0.6252, allocations: 116.3 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.6253, allocations: 10.66 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.6253, allocations: 11.17 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6253, allocations: 5.391 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6253, allocations: 0.7812 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6254, allocations: 2.625 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.6257, allocations: 480.3 kB / 0.7888 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.6257, allocations: 0 / 0.7888 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.6258, allocations: 4.312 kB / 0.7888 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.6258, allocations: 2.656 kB / 0.7888 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.6258, allocations: 4.391 kB / 0.7888 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6258, allocations: 0 / 0.7888 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6258, allocations: 0.75 kB / 0.7888 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.737e-05/0.6259, allocations: 89.86 kB / 0.7889 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.6259, allocations: 87.39 kB / 0.789 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.6259, allocations: 3.281 kB / 0.789 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.626, allocations: 3.125 kB / 0.789 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.626, allocations: 1.719 kB / 0.789 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.626, allocations: 9.156 kB / 0.789 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.626, allocations: 129.5 kB / 0.7891 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.22e-07/0.6261, allocations: 0 / 0.7891 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001836/0.6262, allocations: 14.38 kB / 0.7891 GB, free: 47.41 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 8.388e-05/0.6263, allocations: 98.55 kB / 0.7892 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.968e-05/0.6264, allocations: 20.91 kB / 0.7892 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6264, allocations: 0 / 0.7892 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.6265, allocations: 8.688 kB / 0.7893 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.6266, allocations: 17.19 kB / 0.7893 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.6269, allocations: 198 kB / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.676e-05/0.627, allocations: 0.6986 MB / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.627, allocations: 10.94 kB / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.627, allocations: 0 / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.001915/0.629, allocations: 0.9158 MB / 0.791 GB, free: 46.46 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)