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.0008908/0.0008907, allocations: 90.67 kB / 15.06 MB, free: 1.094 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.0009424/0.0009424, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.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.633/1.633, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005728/0.0005729, allocations: 16.75 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2252, allocations: 116.3 MB / 0.7873 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.000867/0.2261, allocations: 0.5363 MB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001074/0.2262, allocations: 43.72 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.2263, allocations: 4 kB / 0.7879 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.2263, allocations: 3.938 kB / 0.7879 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.2264, allocations: 7.922 kB / 0.7879 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.089e-05/0.2264, allocations: 12 kB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.636e-05/0.2265, allocations: 67.78 kB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2266, allocations: 37.55 kB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.2267, allocations: 23.8 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.2267, allocations: 27.8 kB / 0.788 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.2268, allocations: 4 kB / 0.788 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.2268, allocations: 4 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.2268, allocations: 3.938 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.2268, allocations: 33.7 kB / 0.7881 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.904e-05/0.2269, allocations: 64.08 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2269, allocations: 0 / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2269, allocations: 0 / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.2269, allocations: 0 / 0.7881 GB, free: 11.11 MB / 0.6075 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.0003481/0.2273, allocations: 371 kB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2273, allocations: 15.97 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.2274, allocations: 11.89 kB / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.2275, allocations: 194.9 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2276, allocations: 4 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.2276, allocations: 12 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2277, allocations: 98.28 kB / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2277, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2278, allocations: 4 kB / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2278, allocations: 4 kB / 0.7888 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.2278, allocations: 35.98 kB / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.2284, allocations: 452.5 kB / 0.7893 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.511e-05/0.2285, allocations: 49.17 kB / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.2285, allocations: 14.84 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.2285, allocations: 4.031 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2285, allocations: 34.55 kB / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/0.2285, allocations: 0 / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001711/0.2287, allocations: 65.47 kB / 0.7894 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2288, allocations: 81.36 kB / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.2289, allocations: 167.3 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.2289, allocations: 25.7 kB / 0.7897 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.229, allocations: 111.9 kB / 0.7898 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/0.229, allocations: 4 kB / 0.7898 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.229, allocations: 4 kB / 0.7898 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.2291, allocations: 318.8 kB / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.2291, allocations: 4 kB / 0.7901 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.2292, allocations: 25.72 kB / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/0.2292, allocations: 11.98 kB / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2292, allocations: 0 / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.477e-05/0.2293, allocations: 69.41 kB / 0.7902 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.2293, allocations: 7.938 kB / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2293, allocations: 0 / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2293, allocations: 4 kB / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.2294, allocations: 8.047 kB / 0.7902 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2294, allocations: 4 kB / 0.7902 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.2294, allocations: 4 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.2294, allocations: 0 / 0.7903 GB, free: 8.684 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.2295, allocations: 117.8 kB / 0.7904 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.2296, allocations: 11.86 kB / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.2296, allocations: 12.56 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2296, allocations: 3.984 kB / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2296, allocations: 0 / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2296, allocations: 8 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.23, allocations: 474.7 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.23, allocations: 0 / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.2301, allocations: 4 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2301, allocations: 0 / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2301, allocations: 4 kB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2301, allocations: 3.984 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2301, allocations: 0 / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.58e-05/0.2302, allocations: 81.92 kB / 0.7909 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.2302, allocations: 92.94 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.2303, allocations: 7.938 kB / 0.791 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.672e-05/0.2303, allocations: 4 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.2303, allocations: 3.938 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.2303, allocations: 0 / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.876e-05/0.2304, allocations: 128 kB / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2304, allocations: 0 / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001783/0.2306, allocations: 8 kB / 0.7912 GB, free: 7.625 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.548e-05/0.2307, allocations: 103.2 kB / 0.7913 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.388e-05/0.2308, allocations: 16 kB / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2308, allocations: 0 / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.2308, allocations: 8.125 kB / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.231, allocations: 19.95 kB / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.2313, allocations: 193.9 kB / 0.7915 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.2315, allocations: 0.6965 MB / 0.7922 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.2315, allocations: 8.422 kB / 0.7922 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.2316, allocations: 11.44 kB / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2316, allocations: 0 / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of Templates: time 0.002149/0.2337, allocations: 447.9 kB / 0.7926 GB, free: 6.074 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: