Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 252 MB / 268 MB, free: 10.86 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.001057/0.001057, allocations: 172.7 kB / 327.6 MB, free: 2.105 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.528/1.528, allocations: 205.4 MB / 0.5786 GB, free: 20.19 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.0009285/0.0009285, allocations: 86.41 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 9.219 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2336, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001114/0.2348, allocations: 0.581 MB / 0.902 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.235, allocations: 39.78 kB / 0.9021 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.2351, allocations: 0 / 0.9021 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.2351, allocations: 7.922 kB / 0.9021 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.2352, allocations: 11.94 kB / 0.9021 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.867e-05/0.2353, allocations: 15.98 kB / 0.9021 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.2354, allocations: 71.72 kB / 0.9022 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.2356, allocations: 37.38 kB / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.2356, allocations: 19.86 kB / 0.9022 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.2357, allocations: 27.8 kB / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.2357, allocations: 4 kB / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.2357, allocations: 0 / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.2358, allocations: 7.938 kB / 0.9023 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.2358, allocations: 65.38 kB / 0.9023 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.892e-05/0.2359, allocations: 51.88 kB / 0.9024 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2359, allocations: 0 / 0.9024 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.825e-06/0.2359, allocations: 4 kB / 0.9024 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2359, allocations: 0 / 0.9024 GB, free: 62.58 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.0004071/0.2364, allocations: 375.5 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2364, allocations: 8.031 kB / 0.9027 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.2365, allocations: 12.75 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.2367, allocations: 196.1 kB / 0.9029 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2367, allocations: 8.375 kB / 0.9029 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.2367, allocations: 8.375 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.2369, allocations: 91.89 kB / 0.903 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2369, allocations: 192 / 0.903 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2369, allocations: 11.94 kB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.2369, allocations: 4 kB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.794e-05/0.237, allocations: 39.92 kB / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.2375, allocations: 444.6 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.967e-05/0.2376, allocations: 37.25 kB / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.2376, allocations: 25.78 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.2376, allocations: 0 / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.2376, allocations: 38.55 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2377, allocations: 0 / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001799/0.2378, allocations: 65.7 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.2379, allocations: 77.11 kB / 0.9038 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.238, allocations: 166.2 kB / 0.9039 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.238, allocations: 25.7 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.2381, allocations: 111.9 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.2381, allocations: 3.984 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.2381, allocations: 8 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.2382, allocations: 314.8 kB / 0.9044 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.2382, allocations: 12.02 kB / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.2382, allocations: 17.72 kB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.2383, allocations: 37.59 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2383, allocations: 0 / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.181e-05/0.2384, allocations: 69.44 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2384, allocations: 4 kB / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2384, allocations: 8 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2384, allocations: 0 / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.2385, allocations: 8 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2385, allocations: 0 / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.2385, allocations: 11.94 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.2385, allocations: 0 / 0.9045 GB, free: 60.12 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.118e-05/0.2386, allocations: 113.8 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.2387, allocations: 11.89 kB / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.2387, allocations: 16.5 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2387, allocations: 4.094 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2387, allocations: 0 / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2387, allocations: 3.984 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.239, allocations: 482.7 kB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-06/0.239, allocations: 0 / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.2391, allocations: 4 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2391, allocations: 0 / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.2391, allocations: 4 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2391, allocations: 4.062 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2391, allocations: 0 / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.419e-05/0.2392, allocations: 85.77 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.2392, allocations: 85.02 kB / 0.9053 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.2392, allocations: 4 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.524e-05/0.2393, allocations: 3.984 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.2393, allocations: 4.031 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.2393, allocations: 0 / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.841e-05/0.2394, allocations: 128.9 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2394, allocations: 3.938 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001755/0.2396, allocations: 8 kB / 0.9054 GB, free: 59.07 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.000106/0.2397, allocations: 95.25 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.2398, allocations: 23.94 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2398, allocations: 4.125 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.2398, allocations: 7.984 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.24, allocations: 15.61 kB / 0.9056 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.2403, allocations: 229.7 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2404, allocations: 0.6965 MB / 0.9065 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.2404, allocations: 11.44 kB / 0.9065 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.2404, allocations: 0 / 0.9065 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.00199/0.2424, allocations: 0.9144 MB / 0.9074 GB, free: 57.01 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)