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.51/1.51, allocations: 252 MB / 267.6 MB, free: 10.94 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.001028/0.001028, allocations: 182.7 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.775/1.775, 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.0007057/0.0007058, allocations: 81.14 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005172, allocations: 12.25 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2812, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001261/0.2825, allocations: 0.5501 MB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001383/0.2827, allocations: 51.77 kB / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.2828, allocations: 0 / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.2828, allocations: 7.875 kB / 0.9014 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.604e-05/0.2829, allocations: 7.938 kB / 0.9014 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.38e-05/0.283, allocations: 11.98 kB / 0.9014 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.2831, allocations: 59.84 kB / 0.9015 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.2833, allocations: 37.56 kB / 0.9015 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.2834, allocations: 19.88 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.2834, allocations: 23.8 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.2835, allocations: 0 / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.2835, allocations: 4 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.2835, allocations: 11.91 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.2836, allocations: 37.64 kB / 0.9016 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.316e-05/0.2837, allocations: 55.88 kB / 0.9017 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2837, allocations: 4 kB / 0.9017 GB, free: 63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2837, allocations: 0 / 0.9017 GB, free: 63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2837, allocations: 0 / 0.9017 GB, free: 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.0004044/0.2841, allocations: 375.3 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2842, allocations: 11.97 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.2843, allocations: 11.81 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.2845, allocations: 202.9 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2845, allocations: 7.938 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.2845, allocations: 12 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.2848, allocations: 99.23 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2848, allocations: 0 / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2848, allocations: 0 / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2848, allocations: 4 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.285, allocations: 39.92 kB / 0.9024 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006483/0.2856, allocations: 444.7 kB / 0.9028 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.083e-05/0.2857, allocations: 41.25 kB / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.2858, allocations: 21.77 kB / 0.9029 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.2858, allocations: 3.984 kB / 0.9029 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2858, allocations: 38.56 kB / 0.9029 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/0.2858, allocations: 0 / 0.9029 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002498/0.2861, allocations: 57.45 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.2862, allocations: 77.11 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.2864, allocations: 170.2 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.2864, allocations: 29.7 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.2864, allocations: 104.3 kB / 0.9034 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.2865, allocations: 11.91 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.2865, allocations: 0 / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.2866, allocations: 322.8 kB / 0.9037 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.2866, allocations: 4 kB / 0.9037 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.515e-05/0.2866, allocations: 17.72 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.2867, allocations: 11.94 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2867, allocations: 0 / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001284/0.2869, allocations: 69.55 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2869, allocations: 4 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2869, allocations: 0 / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2869, allocations: 4 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.287, allocations: 7.938 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.2871, allocations: 0 / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.2871, allocations: 11.84 kB / 0.9038 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.2872, allocations: 0 / 0.9038 GB, free: 60.58 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.806e-05/0.2872, allocations: 121.9 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.2873, allocations: 11.86 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.2874, allocations: 16.5 kB / 0.9039 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2874, allocations: 0 / 0.9039 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2874, allocations: 3.938 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2874, allocations: 4 kB / 0.904 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.2879, allocations: 478.8 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2879, allocations: 4.062 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.288, allocations: 4 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.288, allocations: 0 / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.288, allocations: 4 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.288, allocations: 0 / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.288, allocations: 0 / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.2882, allocations: 89.78 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.2882, allocations: 92.95 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.2883, allocations: 7.984 kB / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.88e-05/0.2883, allocations: 0 / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.2884, allocations: 0 / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2884, allocations: 0 / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001126/0.2885, allocations: 124.9 kB / 0.9047 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2885, allocations: 0 / 0.9047 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003395/0.2889, allocations: 12 kB / 0.9047 GB, free: 59.52 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.0001288/0.289, allocations: 99.25 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.2891, allocations: 23.92 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2892, allocations: 0 / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/0.2892, allocations: 4 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.2895, allocations: 13.22 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.2899, allocations: 219.9 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.2901, allocations: 0.6965 MB / 0.9058 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.2901, allocations: 11.44 kB / 0.9058 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2902, allocations: 7.938 kB / 0.9058 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.003069/0.2932, allocations: 0.9093 MB / 0.9067 GB, free: 57.47 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)