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.001627/0.001628, allocations: 100.6 kB / 16.27 MB, free: 6.418 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.001796/0.001796, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.621/1.621, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.83/1.83, allocations: 292.3 MB / 0.5495 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.001448/0.001448, allocations: 75.89 kB / 0.6722 GB, free: 6.609 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2722, allocations: 114.6 MB / 0.784 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002744/0.2749, allocations: 0.8492 MB / 0.7849 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001524/0.2751, allocations: 43.78 kB / 0.7849 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.2752, allocations: 4 kB / 0.7849 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.614e-05/0.2753, allocations: 7.875 kB / 0.7849 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.2754, allocations: 11.86 kB / 0.7849 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.989e-05/0.2755, allocations: 19.98 kB / 0.7849 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.2757, allocations: 75.78 kB / 0.785 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.2758, allocations: 37.38 kB / 0.7851 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.2759, allocations: 27.86 kB / 0.7851 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.987e-05/0.276, allocations: 35.78 kB / 0.7851 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.276, allocations: 8 kB / 0.7851 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.2761, allocations: 8 kB / 0.7851 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.2761, allocations: 11.94 kB / 0.7851 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.2761, allocations: 39.73 kB / 0.7852 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.2763, allocations: 83.91 kB / 0.7853 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2763, allocations: 0 / 0.7853 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2763, allocations: 0 / 0.7853 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.2763, allocations: 0 / 0.7853 GB, free: 2.676 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.0005424/0.2769, allocations: 395.1 kB / 0.7856 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.2769, allocations: 8.031 kB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.277, allocations: 16.75 kB / 0.7857 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.2773, allocations: 191.2 kB / 0.7858 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.2773, allocations: 4.375 kB / 0.7858 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.2773, allocations: 8.375 kB / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.2775, allocations: 106.8 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2775, allocations: 4.188 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2775, allocations: 3.938 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2776, allocations: 4 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.338e-05/0.2776, allocations: 35.98 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.2783, allocations: 448.5 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.641e-05/0.2784, allocations: 41.16 kB / 0.7865 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.2784, allocations: 13.84 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.2785, allocations: 7.969 kB / 0.7865 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2785, allocations: 42.55 kB / 0.7865 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2785, allocations: 0 / 0.7865 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000223/0.2787, allocations: 61.47 kB / 0.7866 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.2788, allocations: 81.11 kB / 0.7867 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.279, allocations: 165.5 kB / 0.7868 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.279, allocations: 29.7 kB / 0.7868 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.2791, allocations: 107.9 kB / 0.787 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.2791, allocations: 7.906 kB / 0.787 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.2792, allocations: 17.7 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2793, allocations: 323.1 kB / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.2793, allocations: 11.98 kB / 0.7873 GB, free: 352 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.2794, allocations: 17.72 kB / 0.7873 GB, free: 328 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.445e-05/0.2794, allocations: 29.66 kB / 0.7873 GB, free: 292 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2795, allocations: 0 / 0.7873 GB, free: 292 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001095/0.2796, allocations: 65.59 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2796, allocations: 8.062 kB / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2796, allocations: 3.938 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2796, allocations: 0 / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.2797, allocations: 11.94 kB / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2797, allocations: 0 / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.2798, allocations: 0 / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.2798, allocations: 4 kB / 0.7874 GB, free: 192 kB / 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 9.248e-05/0.2799, allocations: 113.8 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.28, allocations: 11.81 kB / 0.7876 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.28, allocations: 24.48 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.28, allocations: 0 / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.28, allocations: 0 / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.28, allocations: 0 / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.393/0.673, allocations: 480 kB / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6731, allocations: 3.906 kB / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.6731, allocations: 2.406 kB / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.6731, allocations: 2.562 kB / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.6731, allocations: 0 / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.6732, allocations: 2.625 kB / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6732, allocations: 7.281 kB / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.726e-05/0.6733, allocations: 80.44 kB / 0.7881 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.6733, allocations: 90.72 kB / 0.7882 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.6733, allocations: 7.219 kB / 0.7882 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.037e-05/0.6734, allocations: 1.844 kB / 0.7882 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.6734, allocations: 4.875 kB / 0.7882 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.6734, allocations: 0 / 0.7882 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.893e-05/0.6735, allocations: 128 kB / 0.7883 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6735, allocations: 0 / 0.7883 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002596/0.6738, allocations: 10.88 kB / 0.7884 GB, free: 47.77 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.0001145/0.6739, allocations: 98.69 kB / 0.7885 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.674, allocations: 30.36 kB / 0.7885 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.674, allocations: 4.594 kB / 0.7885 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/0.674, allocations: 6.25 kB / 0.7885 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.6742, allocations: 9.188 kB / 0.7885 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.6746, allocations: 191.1 kB / 0.7887 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.6747, allocations: 0.6977 MB / 0.7894 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.6747, allocations: 11.72 kB / 0.7894 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of SimCode: time 7.82e-07/0.6747, allocations: 0 / 0.7894 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.002218/0.6769, allocations: 0.9259 MB / 0.7903 GB, free: 46.82 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)