Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.842/1.842, allocations: 288.4 MB / 303.4 MB, free: 8.098 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.001163/0.001164, allocations: 179.2 kB / 372 MB, free: 10.27 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.065/2.065, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008281/0.0008281, allocations: 100.5 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006/0.0006001, allocations: 12.06 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2471, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001014/0.2482, allocations: 0.5328 MB / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001526/0.2484, allocations: 47.78 kB / 0.9802 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.2485, allocations: 3.938 kB / 0.9802 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.2485, allocations: 3.938 kB / 0.9802 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.507e-05/0.2486, allocations: 7.922 kB / 0.9802 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.494e-05/0.2487, allocations: 15.98 kB / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.936e-05/0.2488, allocations: 59.84 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2489, allocations: 37.52 kB / 0.9803 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.272e-05/0.249, allocations: 19.86 kB / 0.9803 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.249, allocations: 23.8 kB / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2491, allocations: 0 / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.2491, allocations: 4 kB / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.2491, allocations: 11.94 kB / 0.9803 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.2491, allocations: 37.64 kB / 0.9804 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.747e-05/0.2492, allocations: 60.08 kB / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2492, allocations: 0 / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2492, allocations: 0 / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2492, allocations: 0 / 0.9804 GB, free: 26.79 MB / 0.6198 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.0003645/0.2496, allocations: 375 kB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2496, allocations: 12.02 kB / 0.9808 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.2497, allocations: 15.91 kB / 0.9808 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.2499, allocations: 186.9 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2499, allocations: 12 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.2499, allocations: 7.938 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.2501, allocations: 101.4 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2501, allocations: 0 / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2501, allocations: 3.984 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2501, allocations: 4 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.2502, allocations: 39.92 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.2507, allocations: 448.6 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.2508, allocations: 45.14 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.2508, allocations: 21.84 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.2508, allocations: 0 / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2509, allocations: 30.56 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2509, allocations: 3.938 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001759/0.2511, allocations: 57.53 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.2511, allocations: 77.36 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2512, allocations: 173.2 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.2512, allocations: 25.7 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.2513, allocations: 115.9 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/0.2513, allocations: 0 / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.2513, allocations: 0 / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.2514, allocations: 326.8 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.2514, allocations: 8 kB / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.2514, allocations: 21.64 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.2514, allocations: 12 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2514, allocations: 0 / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.723e-05/0.2515, allocations: 65.47 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2515, allocations: 4 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2516, allocations: 4 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2516, allocations: 0 / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-05/0.2517, allocations: 11.92 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2517, allocations: 3.984 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.2517, allocations: 8.062 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.2517, allocations: 0 / 0.9825 GB, free: 24.37 MB / 0.6198 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 5.954e-05/0.2518, allocations: 113.8 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.2518, allocations: 11.86 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.2519, allocations: 16.55 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2519, allocations: 0 / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2519, allocations: 4 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2519, allocations: 0 / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.2522, allocations: 482.7 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2522, allocations: 4 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.2522, allocations: 0 / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2522, allocations: 4 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.2522, allocations: 3.984 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2523, allocations: 0 / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2523, allocations: 0 / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.198e-05/0.2523, allocations: 85.86 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.2524, allocations: 92.94 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.2524, allocations: 4 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.432e-05/0.2524, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.2524, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2525, allocations: 8 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.2525, allocations: 129.6 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2525, allocations: 4.031 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001772/0.2527, allocations: 11.94 kB / 0.9835 GB, free: 23.3 MB / 0.6198 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.627e-05/0.2528, allocations: 99.23 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.797e-05/0.2529, allocations: 23.88 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2529, allocations: 0 / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.144e-05/0.2529, allocations: 8 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.2531, allocations: 14.44 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.2534, allocations: 193.9 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.2535, allocations: 0.6965 MB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.2535, allocations: 12.36 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.2536, allocations: 11.44 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2536, allocations: 0 / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.002135/0.2557, allocations: 440.9 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)