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_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.441/2.441, allocations: 253.2 MB / 260.6 MB, free: 7.43 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001553, allocations: 175.3 kB / 319.9 MB, free: 3.082 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.36/2.36, allocations: 205.6 MB / 0.5708 GB, free: 15.21 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.001116/0.001116, allocations: 104.5 kB / 0.6751 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.981e-05/1.988e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 106.2 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8637/1.148, allocations: 131.4 MB / 1.017 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.149, allocations: 65.53 kB / 1.017 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00401/1.153, allocations: 1.148 MB / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.153, allocations: 0 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.153, allocations: 4 kB / 1.018 GB, free: 4.789 MB / 0.6355 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.0004055/1.153, allocations: 365.6 kB / 1.019 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.153, allocations: 8.031 kB / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/1.153, allocations: 15.86 kB / 1.019 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/1.154, allocations: 181.4 kB / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.154, allocations: 7.984 kB / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/1.154, allocations: 8 kB / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001305/1.154, allocations: 38.55 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/1.154, allocations: 74.16 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.154, allocations: 0 / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/1.154, allocations: 0 / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/1.154, allocations: 4.875 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/1.155, allocations: 420.7 kB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.796e-05/1.155, allocations: 39.17 kB / 1.019 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/1.155, allocations: 13.84 kB / 1.019 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/1.155, allocations: 4.094 kB / 1.019 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/1.155, allocations: 42.19 kB / 1.019 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/1.155, allocations: 3.938 kB / 1.019 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001842/1.155, allocations: 37.61 kB / 1.019 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/1.155, allocations: 88.59 kB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/1.155, allocations: 120.3 kB / 1.02 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.155, allocations: 29.77 kB / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/1.156, allocations: 114.3 kB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/1.156, allocations: 10.97 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/1.156, allocations: 0 / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.156, allocations: 313.9 kB / 1.02 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/1.156, allocations: 7.562 kB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/1.156, allocations: 23.48 kB / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/1.156, allocations: 15.31 kB / 1.02 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.156, allocations: 0 / 1.02 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001199/1.156, allocations: 48.66 kB / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/1.156, allocations: 7.984 kB / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.156, allocations: 3.938 kB / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/1.156, allocations: 4 kB / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/1.156, allocations: 8 kB / 1.02 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.156, allocations: 3.984 kB / 1.02 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/1.156, allocations: 8.062 kB / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/1.156, allocations: 11.62 kB / 1.02 GB, free: 2.633 MB / 0.6355 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 () * 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.488e-05/1.156, allocations: 104.9 kB / 1.02 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/1.156, allocations: 7.953 kB / 1.02 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/1.156, allocations: 15.91 kB / 1.02 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.157, allocations: 0 / 1.02 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.157, allocations: 0 / 1.02 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/1.157, allocations: 0 / 1.02 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/1.157, allocations: 458.1 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.157, allocations: 0 / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/1.157, allocations: 4 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.157, allocations: 0 / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/1.157, allocations: 4 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.157, allocations: 0 / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.157, allocations: 0 / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/1.157, allocations: 98.31 kB / 1.021 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/1.157, allocations: 84.45 kB / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/1.157, allocations: 0 / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.6e-05/1.157, allocations: 3.984 kB / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/1.157, allocations: 4 kB / 1.021 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/1.158, allocations: 3.984 kB / 1.021 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.87e-05/1.158, allocations: 104.5 kB / 1.021 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.158, allocations: 4.031 kB / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000264/1.158, allocations: 15.84 kB / 1.021 GB, free: 1.676 MB / 0.6355 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 () * 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.0001432/1.158, allocations: 95.25 kB / 1.021 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001004/1.158, allocations: 23.86 kB / 1.021 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.158, allocations: 0 / 1.021 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-05/1.158, allocations: 7.125 kB / 1.021 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/1.158, allocations: 5.328 kB / 1.021 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/1.159, allocations: 115.6 kB / 1.021 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/1.159, allocations: 0.7001 MB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.12e-05/1.159, allocations: 4.188 kB / 1.022 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/1.159, allocations: 7.438 kB / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/1.159, allocations: 4 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of Templates: time 0.002911/1.162, allocations: 320.8 kB / 1.022 GB, free: 372 kB / 0.6355 GB