Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.779/2.779, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.00243/0.00243, allocations: 173.1 kB / 370.8 MB, free: 10.88 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.253/2.253, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001174/0.001174, allocations: 82.92 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006497/0.0006501, allocations: 12.58 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2449, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001055/0.246, allocations: 0.5365 MB / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001269/0.2461, allocations: 43.78 kB / 0.9788 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.2462, allocations: 4 kB / 0.9788 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.2462, allocations: 7.922 kB / 0.9788 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2464, allocations: 11.94 kB / 0.9788 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.25e-05/0.2464, allocations: 15.98 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.942e-05/0.2465, allocations: 39.89 kB / 0.9788 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.2467, allocations: 37.56 kB / 0.9789 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.2467, allocations: 11.88 kB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.2468, allocations: 23.86 kB / 0.9789 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.2468, allocations: 0 / 0.9789 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.2469, allocations: 3.938 kB / 0.9789 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.2469, allocations: 19.91 kB / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.2469, allocations: 37.64 kB / 0.979 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.364e-05/0.247, allocations: 56.09 kB / 0.979 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.247, allocations: 0 / 0.979 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2471, allocations: 0 / 0.979 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2471, allocations: 4 kB / 0.979 GB, free: 27.54 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.0004104/0.2475, allocations: 375 kB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2475, allocations: 11.97 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2476, allocations: 7.906 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.2478, allocations: 202.8 kB / 0.9796 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2478, allocations: 8 kB / 0.9796 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.2479, allocations: 4 kB / 0.9796 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.2481, allocations: 93.27 kB / 0.9797 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2481, allocations: 0 / 0.9797 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.2481, allocations: 8 kB / 0.9797 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2481, allocations: 0 / 0.9797 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.2482, allocations: 43.91 kB / 0.9797 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.2488, allocations: 444.5 kB / 0.9802 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.779e-05/0.2489, allocations: 45.39 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2489, allocations: 0 / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.2489, allocations: 34.56 kB / 0.9802 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.249, allocations: 0 / 0.9802 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002016/0.2492, allocations: 57.55 kB / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.2492, allocations: 77.11 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.2494, allocations: 168.3 kB / 0.9805 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.2494, allocations: 29.7 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.2495, allocations: 107.9 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.2495, allocations: 8 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2495, allocations: 0 / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.2496, allocations: 323.1 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.2496, allocations: 4 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.2497, allocations: 25.66 kB / 0.981 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.2497, allocations: 8 kB / 0.981 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2497, allocations: 0 / 0.981 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001169/0.2498, allocations: 73.39 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2499, allocations: 4 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2499, allocations: 8 kB / 0.9811 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2499, allocations: 0 / 0.9811 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.25, allocations: 8 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.25, allocations: 0 / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.2501, allocations: 0 / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2501, allocations: 4 kB / 0.9811 GB, free: 25.16 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 7.227e-05/0.2502, allocations: 117.8 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.2503, allocations: 11.86 kB / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.2503, allocations: 12.56 kB / 0.9812 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2503, allocations: 4 kB / 0.9812 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2503, allocations: 0 / 0.9812 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2503, allocations: 4.031 kB / 0.9813 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.2508, allocations: 490.7 kB / 0.9817 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2508, allocations: 3.984 kB / 0.9817 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.2509, allocations: 4 kB / 0.9817 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2509, allocations: 0 / 0.9817 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.2509, allocations: 64 / 0.9817 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2509, allocations: 8 kB / 0.9817 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2509, allocations: 0 / 0.9817 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.251, allocations: 95.5 kB / 0.9818 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.2511, allocations: 92.95 kB / 0.9819 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.2511, allocations: 7.984 kB / 0.9819 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.211e-05/0.2512, allocations: 8.031 kB / 0.9819 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.2512, allocations: 0 / 0.9819 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.2512, allocations: 0 / 0.9819 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001028/0.2513, allocations: 132.9 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2513, allocations: 0 / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002432/0.2516, allocations: 8 kB / 0.9821 GB, free: 24.06 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 0.0001129/0.2517, allocations: 95.25 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.2518, allocations: 23.92 kB / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2518, allocations: 0 / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.2519, allocations: 12 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.252, allocations: 3.953 kB / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.2524, allocations: 199.1 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.2526, allocations: 0.7004 MB / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.542e-05/0.2526, allocations: 4.438 kB / 0.9831 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.2527, allocations: 11.44 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2527, allocations: 0 / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.003011/0.2557, allocations: 447.8 kB / 0.9835 GB, free: 22.52 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)