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.473/1.473, allocations: 252 MB / 267.6 MB, free: 10.91 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.001078/0.001078, allocations: 178.3 kB / 327.3 MB, free: 2.215 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.61/1.61, allocations: 205.4 MB / 0.5783 GB, free: 20.26 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.0008059/0.0008056, allocations: 89.92 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003331, allocations: 11.59 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.199, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.000895/0.2, allocations: 0.5501 MB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 9.524e-05/0.2001, allocations: 47.78 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.2001, allocations: 0 / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.2002, allocations: 11.86 kB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.2003, allocations: 3.938 kB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.58e-05/0.2003, allocations: 19.98 kB / 0.9014 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.2004, allocations: 59.84 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2005, allocations: 29.58 kB / 0.9015 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.2006, allocations: 15.86 kB / 0.9015 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.2006, allocations: 31.78 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2007, allocations: 4 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-06/0.2007, allocations: 4 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.2007, allocations: 7.938 kB / 0.9016 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.2007, allocations: 37.64 kB / 0.9016 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.24e-05/0.2008, allocations: 55.81 kB / 0.9017 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2008, allocations: 0 / 0.9017 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2008, allocations: 0 / 0.9017 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2008, allocations: 0 / 0.9017 GB, free: 63.03 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.0003233/0.2011, allocations: 383.3 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2012, allocations: 12.03 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.2012, allocations: 11.81 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.2014, allocations: 195.9 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2014, allocations: 11.94 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2014, allocations: 7.984 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.2016, allocations: 99.23 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2016, allocations: 0 / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2016, allocations: 0 / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2016, allocations: 4 kB / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.999e-05/0.2017, allocations: 39.92 kB / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.2021, allocations: 448.7 kB / 0.9028 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/0.2022, allocations: 41.22 kB / 0.9029 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.2022, allocations: 25.81 kB / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.2022, allocations: 0 / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.2023, allocations: 30.56 kB / 0.9029 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.2023, allocations: 0 / 0.9029 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000156/0.2024, allocations: 61.44 kB / 0.903 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2025, allocations: 81.36 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2026, allocations: 170.2 kB / 0.9032 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.2026, allocations: 25.7 kB / 0.9033 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.2026, allocations: 104 kB / 0.9034 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-06/0.2026, allocations: 7.906 kB / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.2027, allocations: 0 / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.32e-05/0.2027, allocations: 318.8 kB / 0.9037 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.2027, allocations: 8 kB / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.2027, allocations: 29.7 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.2028, allocations: 4 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2028, allocations: 0 / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.746e-05/0.2029, allocations: 65.5 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2029, allocations: 7.984 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2029, allocations: 0 / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2029, allocations: 0 / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.203, allocations: 8 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.203, allocations: 4.062 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.203, allocations: 19.72 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.203, allocations: 0 / 0.9038 GB, free: 60.6 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 4.98e-05/0.2031, allocations: 113.8 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.2031, allocations: 11.86 kB / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.2031, allocations: 20.48 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2032, allocations: 0 / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2032, allocations: 0 / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.2032, allocations: 0 / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.2034, allocations: 486.8 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2035, allocations: 3.984 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.2035, allocations: 4 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2035, allocations: 96 / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.2035, allocations: 4 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2035, allocations: 0 / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2035, allocations: 3.984 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.985e-05/0.2036, allocations: 85.86 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.2036, allocations: 92.91 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.2036, allocations: 0 / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.461e-05/0.2037, allocations: 4 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.2037, allocations: 0 / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.2037, allocations: 0 / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.004e-05/0.2038, allocations: 136.9 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2038, allocations: 0 / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001814/0.204, allocations: 8 kB / 0.9047 GB, free: 59.54 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 8.607e-05/0.204, allocations: 95.25 kB / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.634e-05/0.2041, allocations: 19.94 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2041, allocations: 0 / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.2041, allocations: 8 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.2043, allocations: 17.41 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.2046, allocations: 213.4 kB / 0.9051 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.2047, allocations: 0.7043 MB / 0.9058 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.2047, allocations: 11.44 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2047, allocations: 0 / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.001763/0.2065, allocations: 0.9161 MB / 0.9067 GB, free: 57.49 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)