Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.601/2.601, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001695/0.001695, allocations: 183.5 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.435/2.435, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 91.62 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004535, allocations: 13.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2212, allocations: 106.3 MB / 0.8989 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001095/0.2223, allocations: 0.5641 MB / 0.8994 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001263/0.2225, allocations: 43.73 kB / 0.8995 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.2226, allocations: 4 kB / 0.8995 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.2226, allocations: 3.938 kB / 0.8995 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.354e-05/0.2227, allocations: 7.969 kB / 0.8995 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.383e-05/0.2228, allocations: 12 kB / 0.8995 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.827e-05/0.2229, allocations: 39.89 kB / 0.8995 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.223, allocations: 41.55 kB / 0.8996 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.56e-05/0.2231, allocations: 19.86 kB / 0.8996 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.2231, allocations: 23.86 kB / 0.8996 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2232, allocations: 0 / 0.8996 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.2232, allocations: 4 kB / 0.8996 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.2232, allocations: 3.938 kB / 0.8996 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.2232, allocations: 37.64 kB / 0.8997 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.049e-05/0.2233, allocations: 59.86 kB / 0.8997 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2233, allocations: 4 kB / 0.8997 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2234, allocations: 0 / 0.8997 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2234, allocations: 0 / 0.8997 GB, free: 64.63 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.0003819/0.2238, allocations: 375.3 kB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2238, allocations: 8.031 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.2239, allocations: 7.906 kB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.2241, allocations: 199.8 kB / 0.9003 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2241, allocations: 4 kB / 0.9003 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.2241, allocations: 12 kB / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.2243, allocations: 89.56 kB / 0.9004 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2243, allocations: 3.938 kB / 0.9004 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2243, allocations: 11.94 kB / 0.9004 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2244, allocations: 0 / 0.9004 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.2245, allocations: 35.98 kB / 0.9004 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.2251, allocations: 457.6 kB / 0.9009 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.708e-05/0.2252, allocations: 41.34 kB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.2252, allocations: 3.938 kB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.2252, allocations: 34.56 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.2252, allocations: 0 / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001951/0.2254, allocations: 57.59 kB / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.2255, allocations: 77.11 kB / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.2256, allocations: 179.8 kB / 0.9012 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.2257, allocations: 25.7 kB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.2257, allocations: 104 kB / 0.9014 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.2258, allocations: 8.156 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.2258, allocations: 4 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.2258, allocations: 318.8 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.2259, allocations: 8 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.2259, allocations: 25.7 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.422e-05/0.226, allocations: 4 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.226, allocations: 3.953 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001184/0.2261, allocations: 65.55 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2261, allocations: 4 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2261, allocations: 0 / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2262, allocations: 3.984 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.2263, allocations: 8 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2263, allocations: 0 / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.2263, allocations: 11.84 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.2264, allocations: 0 / 0.9018 GB, free: 62.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.2264, allocations: 113.8 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.2265, allocations: 19.92 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.2265, allocations: 12.55 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2266, allocations: 0 / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2266, allocations: 0 / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2266, allocations: 0 / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.227, allocations: 482.7 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.227, allocations: 0 / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.2271, allocations: 11.98 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2271, allocations: 4.062 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.2271, allocations: 0 / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2271, allocations: 7.938 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2271, allocations: 0 / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.641e-05/0.2272, allocations: 87.58 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.2273, allocations: 93.03 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.2273, allocations: 0 / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.2274, allocations: 4 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.2274, allocations: 0 / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.2274, allocations: 0 / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001049/0.2275, allocations: 138.7 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2275, allocations: 0 / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002395/0.2278, allocations: 11.91 kB / 0.9028 GB, free: 61.16 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 (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.0001109/0.2279, allocations: 103.2 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.76e-05/0.228, allocations: 23.94 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.228, allocations: 0 / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.228, allocations: 4 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.2282, allocations: 8 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.2286, allocations: 202.1 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.2288, allocations: 0.7004 MB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.469e-05/0.2288, allocations: 12.42 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.2289, allocations: 11.44 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of SimCode: time 1.704e-06/0.2289, allocations: 0 / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.002955/0.2318, allocations: 446.3 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB