Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008998/0.0008998, allocations: 166.1 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007021/0.0007021, allocations: 90.36 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003021, allocations: 16.17 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2179, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0009686/0.219, allocations: 0.5732 MB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001484/0.2191, allocations: 51.77 kB / 0.9021 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.2192, allocations: 4 kB / 0.9021 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.2193, allocations: 3.938 kB / 0.9021 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.2194, allocations: 3.938 kB / 0.9021 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.158e-05/0.2194, allocations: 19.98 kB / 0.9021 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.114e-05/0.2195, allocations: 67.78 kB / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.2197, allocations: 33.39 kB / 0.9022 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.602e-05/0.2197, allocations: 19.86 kB / 0.9022 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.2198, allocations: 27.78 kB / 0.9022 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.2198, allocations: 4 kB / 0.9022 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-06/0.2198, allocations: 0 / 0.9022 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.2199, allocations: 11.94 kB / 0.9023 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.2199, allocations: 57.38 kB / 0.9023 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.195e-05/0.22, allocations: 55.88 kB / 0.9024 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.22, allocations: 4 kB / 0.9024 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.532e-06/0.22, allocations: 0 / 0.9024 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.22, allocations: 0 / 0.9024 GB, free: 62.54 MB / 0.6042 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.0003799/0.2204, allocations: 371.5 kB / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2205, allocations: 8.031 kB / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.2205, allocations: 16.75 kB / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.2207, allocations: 206.2 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2207, allocations: 4.375 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.2207, allocations: 12.38 kB / 0.903 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.2209, allocations: 95.89 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.2209, allocations: 192 / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2209, allocations: 3.938 kB / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2209, allocations: 0 / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.968e-05/0.221, allocations: 47.91 kB / 0.9031 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.2215, allocations: 440.6 kB / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.392e-05/0.2216, allocations: 45.22 kB / 0.9036 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.2216, allocations: 21.78 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.2216, allocations: 0 / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.2217, allocations: 42.5 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2217, allocations: 0 / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001833/0.2219, allocations: 57.48 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2219, allocations: 85.09 kB / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.222, allocations: 166.2 kB / 0.9039 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.2221, allocations: 33.64 kB / 0.9039 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.2221, allocations: 108.2 kB / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.892e-06/0.2221, allocations: 7.984 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.2221, allocations: 0 / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.2222, allocations: 322.8 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.2222, allocations: 4 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.2222, allocations: 17.72 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.2223, allocations: 37.66 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2223, allocations: 0 / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.202e-05/0.2224, allocations: 69.44 kB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2224, allocations: 6.5 kB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2224, allocations: 3.938 kB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2224, allocations: 0 / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.2225, allocations: 8 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2225, allocations: 3.984 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.2226, allocations: 3.938 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.2226, allocations: 4 kB / 0.9045 GB, free: 60.08 MB / 0.6042 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 6.006e-05/0.2226, allocations: 117.9 kB / 0.9046 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.2227, allocations: 7.906 kB / 0.9046 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.2227, allocations: 16.5 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2227, allocations: 0 / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2227, allocations: 0 / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2227, allocations: 3.984 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.223, allocations: 482.7 kB / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2231, allocations: 0 / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.2231, allocations: 4 kB / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2231, allocations: 0 / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.2231, allocations: 0 / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2231, allocations: 0 / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2231, allocations: 4 kB / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.623e-05/0.2232, allocations: 89.83 kB / 0.9052 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.2232, allocations: 89 kB / 0.9053 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.2233, allocations: 0 / 0.9053 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.386e-05/0.2233, allocations: 0 / 0.9053 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.2233, allocations: 8 kB / 0.9053 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.2233, allocations: 7.938 kB / 0.9053 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.158e-05/0.2234, allocations: 124.9 kB / 0.9054 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2234, allocations: 3.938 kB / 0.9054 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001725/0.2236, allocations: 8 kB / 0.9054 GB, free: 59.02 MB / 0.6042 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.0001363/0.2237, allocations: 107.3 kB / 0.9055 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.818e-05/0.2238, allocations: 19.94 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2238, allocations: 0 / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.2238, allocations: 4 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.224, allocations: 11.94 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.2243, allocations: 233.8 kB / 0.9058 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.2244, allocations: 0.6926 MB / 0.9065 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.2245, allocations: 15.44 kB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2245, allocations: 0 / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.002104/0.2266, allocations: 0.9093 MB / 0.9074 GB, free: 56.96 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)