Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001854/0.001854, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001457/0.001457, allocations: 191.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 472.6 MB / 0.7448 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 77.8 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3585, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002607/0.3612, allocations: 0.8824 MB / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001714/0.3614, allocations: 39.78 kB / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.3615, allocations: 0 / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.491e-05/0.3616, allocations: 7.922 kB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.216e-05/0.3617, allocations: 7.938 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.287e-05/0.3617, allocations: 12 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3619, allocations: 63.84 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.362, allocations: 43.95 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.786e-05/0.3621, allocations: 27.86 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.3622, allocations: 27.86 kB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3622, allocations: 4 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.3622, allocations: 8 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.3623, allocations: 23.86 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.3623, allocations: 35.73 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.3625, allocations: 68.05 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3625, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3625, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.3625, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8262 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.0005394/0.363, allocations: 379.2 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.3631, allocations: 8.031 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.3632, allocations: 20.83 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.3634, allocations: 188.2 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3634, allocations: 8.375 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.3634, allocations: 12.25 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3636, allocations: 93.2 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3636, allocations: 192 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3637, allocations: 7.938 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3637, allocations: 0 / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.3638, allocations: 39.91 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.3644, allocations: 444.6 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.456e-05/0.3645, allocations: 41.31 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.3645, allocations: 21.72 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.3645, allocations: 0 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3646, allocations: 30.56 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3646, allocations: 7.938 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002065/0.3648, allocations: 57.47 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.3648, allocations: 77.11 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.365, allocations: 169.3 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.365, allocations: 25.7 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.3651, allocations: 104 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.3651, allocations: 11.91 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.3652, allocations: 9.719 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3653, allocations: 322.8 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.3654, allocations: 8 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.3654, allocations: 17.66 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.3654, allocations: 33.7 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3654, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.949e-05/0.3655, allocations: 57.55 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3656, allocations: 4 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3656, allocations: 3.938 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3656, allocations: 96 / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.3657, allocations: 15.97 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3657, allocations: 8.047 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.3657, allocations: 11.84 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3657, allocations: 4 kB / 1.071 GB, free: 7.152 MB / 0.8262 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.393e-05/0.3658, allocations: 109.8 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.3659, allocations: 11.91 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.3659, allocations: 11.81 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3659, allocations: 7.922 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3659, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3659, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.3663, allocations: 474.8 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3663, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.3664, allocations: 4 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.3664, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.3664, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3664, allocations: 7.938 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3664, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.047e-05/0.3665, allocations: 85.89 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.3666, allocations: 89.02 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.3666, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.3666, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.3666, allocations: 3.984 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3666, allocations: 4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001023/0.3667, allocations: 125.5 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3667, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001859/0.3669, allocations: 11.84 kB / 1.072 GB, free: 6.109 MB / 0.8262 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.0001351/0.3671, allocations: 103.2 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.613e-05/0.3672, allocations: 15.94 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3672, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.25e-05/0.3672, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.3674, allocations: 23.27 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.3677, allocations: 182.8 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.368, allocations: 0.6963 MB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.325e-05/0.368, allocations: 8.422 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.3681, allocations: 11.44 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3681, allocations: 0 / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of Templates: time 0.00247/0.3706, allocations: 448.5 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)