Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 109.1 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 189.8 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.39 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2407, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002205/0.2429, allocations: 0.8644 MB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001304/0.2431, allocations: 43.78 kB / 0.7857 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.2431, allocations: 3.938 kB / 0.7857 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.2432, allocations: 11.86 kB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2433, allocations: 7.875 kB / 0.7857 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.643e-05/0.2434, allocations: 23.98 kB / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2435, allocations: 71.83 kB / 0.7858 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.2436, allocations: 37.38 kB / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.2437, allocations: 35.8 kB / 0.7859 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.2438, allocations: 35.8 kB / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2438, allocations: 4 kB / 0.7859 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.2438, allocations: 8 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.2438, allocations: 11.92 kB / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.2439, allocations: 39.73 kB / 0.786 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.244, allocations: 87.56 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.244, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.442e-06/0.244, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.244, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 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.0004865/0.2445, allocations: 395.1 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2446, allocations: 8.031 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.2446, allocations: 16.75 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2448, allocations: 188.2 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2449, allocations: 4.375 kB / 0.7866 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.2449, allocations: 8.375 kB / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.245, allocations: 102.5 kB / 0.7867 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.2451, allocations: 192 / 0.7867 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2451, allocations: 3.938 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2451, allocations: 4 kB / 0.7867 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.881e-05/0.2452, allocations: 43.86 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.2458, allocations: 444.6 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.716e-05/0.2458, allocations: 45.19 kB / 0.7872 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.2459, allocations: 17.84 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.2459, allocations: 0 / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.2459, allocations: 34.56 kB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2459, allocations: 0 / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001931/0.2461, allocations: 65.47 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.2462, allocations: 77.11 kB / 0.7874 GB, free: 268 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.2463, allocations: 173.4 kB / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.2463, allocations: 25.7 kB / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4027/0.649, allocations: 108 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.6491, allocations: 3.75 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.6492, allocations: 16.59 kB / 0.7877 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.6492, allocations: 323.4 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.473e-05/0.6493, allocations: 11.47 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.419e-05/0.6493, allocations: 19.03 kB / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.6493, allocations: 29.91 kB / 0.7881 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6494, allocations: 0 / 0.7881 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001161/0.6495, allocations: 65.7 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.6495, allocations: 5.875 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6495, allocations: 3.75 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.6495, allocations: 3.344 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.6496, allocations: 5.906 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.6496, allocations: 1.625 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.6497, allocations: 8.219 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.6497, allocations: 1.172 kB / 0.7882 GB, free: 48.12 MB / 0.6544 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.924e-05/0.6498, allocations: 116.5 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.6498, allocations: 12.03 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.6499, allocations: 13.36 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6499, allocations: 3.938 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6499, allocations: 0 / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6499, allocations: 3.609 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.6502, allocations: 482.1 kB / 0.7888 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6502, allocations: 3.25 kB / 0.7888 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.6503, allocations: 2.656 kB / 0.7888 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6503, allocations: 2.562 kB / 0.7888 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.6503, allocations: 0.875 kB / 0.7888 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6503, allocations: 0 / 0.7888 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6503, allocations: 0 / 0.7888 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.723e-05/0.6504, allocations: 84.95 kB / 0.7889 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.6504, allocations: 96.05 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.6504, allocations: 3.219 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.48e-05/0.6505, allocations: 3.25 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.6505, allocations: 7.75 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.6505, allocations: 0 / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.826e-05/0.6506, allocations: 130.8 kB / 0.7891 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6506, allocations: 0 / 0.7891 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001855/0.6508, allocations: 8.656 kB / 0.7891 GB, free: 47.29 MB / 0.6544 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 9.549e-05/0.6509, allocations: 101.5 kB / 0.7892 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.695e-05/0.651, allocations: 24.25 kB / 0.7892 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.651, allocations: 2.688 kB / 0.7892 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/0.651, allocations: 5.031 kB / 0.7893 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.6511, allocations: 12.53 kB / 0.7893 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.6514, allocations: 197.5 kB / 0.7895 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.6515, allocations: 0.6945 MB / 0.7901 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.6516, allocations: 10.84 kB / 0.7901 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.6516, allocations: 1.5 kB / 0.7901 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.002272/0.6539, allocations: 0.9224 MB / 0.791 GB, free: 46.33 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)