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.62/1.62, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001178/0.001178, allocations: 178.5 kB / 326.5 MB, free: 2.684 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.837/1.837, allocations: 205 MB / 0.5766 GB, free: 21 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.0008587/0.0008589, allocations: 100.2 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 12.56 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2117, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001041/0.2127, allocations: 0.5845 MB / 0.8973 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001274/0.2129, allocations: 51.77 kB / 0.8974 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.213, allocations: 4 kB / 0.8974 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.404e-05/0.213, allocations: 3.938 kB / 0.8974 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.704e-05/0.2131, allocations: 3.938 kB / 0.8974 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.509e-05/0.2132, allocations: 19.92 kB / 0.8974 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.188e-05/0.2133, allocations: 59.84 kB / 0.8974 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.2134, allocations: 45.61 kB / 0.8975 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.2135, allocations: 23.8 kB / 0.8975 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.2135, allocations: 27.78 kB / 0.8975 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.2135, allocations: 4 kB / 0.8975 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-06/0.2135, allocations: 0 / 0.8975 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.2136, allocations: 11.94 kB / 0.8976 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.2136, allocations: 27.73 kB / 0.8976 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.152e-05/0.2137, allocations: 59.88 kB / 0.8976 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2137, allocations: 0 / 0.8976 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2137, allocations: 0 / 0.8976 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.2137, allocations: 0 / 0.8976 GB, free: 67.27 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.000311/0.214, allocations: 371.2 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2141, allocations: 12.03 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.2141, allocations: 12.75 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.2143, allocations: 208.1 kB / 0.8982 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2143, allocations: 8.375 kB / 0.8982 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.2143, allocations: 8.375 kB / 0.8982 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2144, allocations: 83.95 kB / 0.8983 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.2144, allocations: 192 / 0.8983 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2145, allocations: 11.94 kB / 0.8983 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.2145, allocations: 0 / 0.8983 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.836e-05/0.2145, allocations: 43.91 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.215, allocations: 444.5 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/0.2151, allocations: 46.08 kB / 0.8988 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.2151, allocations: 13.78 kB / 0.8988 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.2151, allocations: 4 kB / 0.8988 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.2152, allocations: 30.56 kB / 0.8989 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2152, allocations: 0 / 0.8989 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001623/0.2153, allocations: 61.48 kB / 0.8989 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.2154, allocations: 77.11 kB / 0.899 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.2155, allocations: 170.2 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.2155, allocations: 29.89 kB / 0.8992 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.2156, allocations: 119.9 kB / 0.8993 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-06/0.2156, allocations: 0 / 0.8993 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.2156, allocations: 13.72 kB / 0.8993 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.2156, allocations: 322.8 kB / 0.8996 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.2157, allocations: 4 kB / 0.8996 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.2157, allocations: 25.64 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.05e-05/0.2157, allocations: 41.7 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2158, allocations: 0 / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.628e-05/0.2158, allocations: 61.45 kB / 0.8998 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2159, allocations: 10.34 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2159, allocations: 3.938 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2159, allocations: 0 / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.216, allocations: 11.98 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.216, allocations: 0 / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.216, allocations: 3.938 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.216, allocations: 12.06 kB / 0.8998 GB, free: 64.79 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 5.517e-05/0.2161, allocations: 117.8 kB / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.2161, allocations: 7.906 kB / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.2161, allocations: 16.5 kB / 0.8999 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2162, allocations: 0 / 0.8999 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2162, allocations: 3.984 kB / 0.8999 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2162, allocations: 0 / 0.8999 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.2165, allocations: 490.6 kB / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2165, allocations: 0 / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.2165, allocations: 4 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2165, allocations: 0 / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.2165, allocations: 0 / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2165, allocations: 3.984 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2165, allocations: 4 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.517e-05/0.2166, allocations: 81.91 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.2166, allocations: 89 kB / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.2167, allocations: 0 / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/0.2167, allocations: 0 / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.2167, allocations: 11.94 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.2167, allocations: 0 / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.2168, allocations: 124.9 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2168, allocations: 0 / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001835/0.217, allocations: 12.03 kB / 0.9007 GB, free: 63.73 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.0001001/0.2171, allocations: 99.23 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.724e-05/0.2172, allocations: 20 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2172, allocations: 0 / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.2172, allocations: 11.88 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.2174, allocations: 15.17 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.2176, allocations: 225.9 kB / 0.9011 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2178, allocations: 0.7004 MB / 0.9018 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.2178, allocations: 11.44 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of SimCode: time 4.1e-07/0.2178, allocations: 0 / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.001983/0.2198, allocations: 0.9115 MB / 0.9027 GB, free: 61.68 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)