Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.887/2.887, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001473/0.001473, allocations: 182 kB / 371 MB, free: 10.86 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.254/2.254, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009826/0.0009824, allocations: 92.72 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004976, allocations: 12.95 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2278, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001196/0.2291, allocations: 0.5326 MB / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001407/0.2292, allocations: 43.78 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.2293, allocations: 0 / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.2294, allocations: 11.86 kB / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2295, allocations: 7.938 kB / 0.9789 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.826e-05/0.2296, allocations: 11.98 kB / 0.979 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2297, allocations: 59.84 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.2299, allocations: 33.58 kB / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.2299, allocations: 23.84 kB / 0.9791 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.23, allocations: 23.8 kB / 0.9791 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.23, allocations: 0 / 0.9791 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.23, allocations: 7.938 kB / 0.9791 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.2301, allocations: 7.938 kB / 0.9791 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.2301, allocations: 37.64 kB / 0.9791 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.559e-05/0.2302, allocations: 60.09 kB / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2302, allocations: 0 / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.046e-06/0.2302, allocations: 0 / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2302, allocations: 0 / 0.9792 GB, free: 27.5 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.0004488/0.2307, allocations: 379 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.2308, allocations: 8.031 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.2308, allocations: 11.91 kB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2311, allocations: 192.4 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2311, allocations: 12 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.2312, allocations: 4 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.2314, allocations: 105.7 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2314, allocations: 0 / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.2314, allocations: 4 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2315, allocations: 4 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.2316, allocations: 39.92 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.2323, allocations: 452.5 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.368e-05/0.2324, allocations: 37.19 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.2324, allocations: 17.84 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.2325, allocations: 0 / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.2325, allocations: 34.56 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/0.2325, allocations: 0 / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002417/0.2328, allocations: 61.53 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2328, allocations: 77.11 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.233, allocations: 164.3 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.233, allocations: 25.7 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.2331, allocations: 120.1 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.2331, allocations: 3.984 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.2331, allocations: 0 / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.2332, allocations: 322.8 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.2332, allocations: 8 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.2333, allocations: 21.7 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/0.2333, allocations: 11.94 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2334, allocations: 7.938 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001241/0.2335, allocations: 65.47 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2335, allocations: 7.984 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2335, allocations: 4 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2336, allocations: 0 / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2337, allocations: 4 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2337, allocations: 3.938 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.2338, allocations: 4 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2338, allocations: 0 / 0.9813 GB, free: 25.08 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.977e-05/0.2339, allocations: 117.9 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.2339, allocations: 11.86 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.234, allocations: 16.55 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.234, allocations: 0 / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.234, allocations: 4 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.234, allocations: 0 / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.2345, allocations: 478.7 kB / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2345, allocations: 4.094 kB / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.2345, allocations: 3.984 kB / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.2346, allocations: 7.984 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2346, allocations: 0 / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2346, allocations: 0 / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2346, allocations: 0 / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.2347, allocations: 93.83 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.2348, allocations: 88.94 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.2348, allocations: 4 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.2349, allocations: 3.938 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.2349, allocations: 4 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2349, allocations: 4 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000103/0.235, allocations: 128.9 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.2e-07/0.235, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002508/0.2353, allocations: 8 kB / 0.9822 GB, free: 24.01 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.0001118/0.2354, allocations: 99.28 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.2355, allocations: 23.94 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2355, allocations: 0 / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.119e-05/0.2356, allocations: 4 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.2358, allocations: 15.89 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.2362, allocations: 202.1 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.2364, allocations: 0.6965 MB / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.914e-05/0.2364, allocations: 8.438 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.2365, allocations: 11.44 kB / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2365, allocations: 0 / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.003107/0.2396, allocations: 440.7 kB / 0.9837 GB, free: 22.47 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)