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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.881/1.881, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001673/0.001673, allocations: 182.4 kB / 376.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001145, allocations: 97.22 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 59.91 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3013, allocations: 114.5 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.003701/0.3051, allocations: 0.8945 MB / 0.9831 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002335/0.3053, allocations: 43.78 kB / 0.9831 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.3055, allocations: 4 kB / 0.9831 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.826e-05/0.3055, allocations: 7.922 kB / 0.9832 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.3057, allocations: 3.938 kB / 0.9832 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.804e-05/0.3058, allocations: 19.98 kB / 0.9832 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3059, allocations: 63.78 kB / 0.9832 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.3062, allocations: 37.39 kB / 0.9833 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.052e-05/0.3063, allocations: 31.86 kB / 0.9833 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.3063, allocations: 31.73 kB / 0.9833 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.3064, allocations: 4 kB / 0.9833 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.3064, allocations: 4 kB / 0.9833 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.3064, allocations: 19.91 kB / 0.9834 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.3065, allocations: 31.73 kB / 0.9834 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.3066, allocations: 87.86 kB / 0.9835 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3066, allocations: 0 / 0.9835 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3067, allocations: 0 / 0.9835 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.3067, allocations: 0 / 0.9835 GB, free: 9.059 MB / 0.7136 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.0006098/0.3073, allocations: 395.1 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.3073, allocations: 8.031 kB / 0.9839 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.3074, allocations: 8.844 kB / 0.9839 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.3078, allocations: 200.1 kB / 0.9841 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3078, allocations: 8.375 kB / 0.9841 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3078, allocations: 8.375 kB / 0.9841 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.3081, allocations: 98.19 kB / 0.9842 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3081, allocations: 192 / 0.9842 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.3081, allocations: 11.92 kB / 0.9842 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.3081, allocations: 8 kB / 0.9842 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.474e-05/0.3082, allocations: 39.92 kB / 0.9842 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.3089, allocations: 440.6 kB / 0.9846 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.304e-05/0.309, allocations: 41.28 kB / 0.9847 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.309, allocations: 13.84 kB / 0.9847 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.309, allocations: 4 kB / 0.9847 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3091, allocations: 30.56 kB / 0.9847 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.3091, allocations: 4 kB / 0.9847 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002139/0.3093, allocations: 65.38 kB / 0.9848 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.3093, allocations: 81.11 kB / 0.9849 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3095, allocations: 167.3 kB / 0.985 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3095, allocations: 25.95 kB / 0.9851 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.3096, allocations: 112 kB / 0.9852 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.3096, allocations: 3.906 kB / 0.9852 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/0.3097, allocations: 21.66 kB / 0.9852 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3098, allocations: 322.8 kB / 0.9855 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.3099, allocations: 8 kB / 0.9855 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.3099, allocations: 17.7 kB / 0.9855 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.31, allocations: 33.72 kB / 0.9856 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.31, allocations: 0 / 0.9856 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001199/0.3101, allocations: 65.47 kB / 0.9856 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3101, allocations: 8 kB / 0.9856 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3101, allocations: 3.938 kB / 0.9856 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3102, allocations: 0 / 0.9856 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.3102, allocations: 8 kB / 0.9856 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3102, allocations: 0 / 0.9856 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.3103, allocations: 7.969 kB / 0.9856 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3103, allocations: 7.938 kB / 0.9857 GB, free: 6.562 MB / 0.7136 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 0.0001153/0.3104, allocations: 117.8 kB / 0.9858 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.3105, allocations: 7.906 kB / 0.9858 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.3105, allocations: 20.48 kB / 0.9858 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3105, allocations: 3.938 kB / 0.9858 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3105, allocations: 0 / 0.9858 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3105, allocations: 0 / 0.9858 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.311, allocations: 486.7 kB / 0.9863 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.311, allocations: 3.938 kB / 0.9863 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.311, allocations: 4 kB / 0.9863 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3111, allocations: 0 / 0.9863 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3111, allocations: 4 kB / 0.9863 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3111, allocations: 0 / 0.9863 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3111, allocations: 4 kB / 0.9863 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.3115, allocations: 0.6441 MB / 0.9869 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.3115, allocations: 89.02 kB / 0.987 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3116, allocations: 7.984 kB / 0.987 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.516e-05/0.3116, allocations: 0 / 0.987 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.3116, allocations: 7.938 kB / 0.987 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.3116, allocations: 32 / 0.987 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3117, allocations: 132 kB / 0.9871 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3117, allocations: 0 / 0.9871 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002794/0.312, allocations: 8 kB / 0.9871 GB, free: 4.891 MB / 0.7136 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.0001379/0.3122, allocations: 95.25 kB / 0.9872 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.032e-05/0.3123, allocations: 23.92 kB / 0.9873 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3123, allocations: 0 / 0.9873 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.3123, allocations: 12.19 kB / 0.9873 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.3125, allocations: 8 kB / 0.9873 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.3129, allocations: 305 kB / 0.9876 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.3132, allocations: 0.7004 MB / 0.9882 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.3132, allocations: 4.438 kB / 0.9882 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.3133, allocations: 11.44 kB / 0.9883 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.3133, allocations: 0 / 0.9883 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of Templates: time 0.002451/0.3157, allocations: 492.5 kB / 0.9887 GB, free: 3.184 MB / 0.7136 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)