Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.883/1.883, allocations: 288.4 MB / 303.4 MB, free: 8.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 189.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 0.6307 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007997/0.0007998, allocations: 90.3 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003991, allocations: 20.77 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2157, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001373/0.2172, allocations: 0.5328 MB / 0.9801 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001356/0.2173, allocations: 39.78 kB / 0.9801 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.2174, allocations: 4 kB / 0.9801 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.2175, allocations: 7.875 kB / 0.9802 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.2176, allocations: 7.922 kB / 0.9802 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.42e-05/0.2177, allocations: 23.92 kB / 0.9802 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2178, allocations: 59.84 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.218, allocations: 37.5 kB / 0.9803 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.2181, allocations: 15.86 kB / 0.9803 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.2181, allocations: 31.8 kB / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2182, allocations: 0 / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.2182, allocations: 4 kB / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.2182, allocations: 7.938 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.2183, allocations: 37.64 kB / 0.9804 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.2184, allocations: 60.08 kB / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2184, allocations: 0 / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2184, allocations: 0 / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2184, allocations: 0 / 0.9804 GB, free: 26.8 MB / 0.6198 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.0004493/0.2189, allocations: 383 kB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.2189, allocations: 8.031 kB / 0.9808 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.219, allocations: 7.906 kB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.2192, allocations: 190.9 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.2193, allocations: 8 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.2193, allocations: 7.938 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.2195, allocations: 100.6 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.2195, allocations: 4 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.2196, allocations: 8 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2196, allocations: 0 / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2197, allocations: 39.92 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006363/0.2204, allocations: 448.6 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.2204, allocations: 45.2 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.2205, allocations: 17.78 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2205, allocations: 0 / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.2205, allocations: 30.56 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.963e-06/0.2205, allocations: 0 / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002428/0.2208, allocations: 65.53 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.2208, allocations: 77.11 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.221, allocations: 165.2 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.2211, allocations: 25.7 kB / 0.982 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.2211, allocations: 111.9 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.2212, allocations: 7.938 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.2212, allocations: 0 / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.2212, allocations: 318.8 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.2213, allocations: 12.25 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.2213, allocations: 33.58 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.2214, allocations: 8 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2214, allocations: 0 / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001171/0.2215, allocations: 61.47 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2215, allocations: 4 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2216, allocations: 3.984 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.2216, allocations: 8.047 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.2217, allocations: 11.94 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2217, allocations: 0 / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.2218, allocations: 8 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2218, allocations: 0 / 0.9826 GB, free: 24.37 MB / 0.6198 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 8.572e-05/0.2219, allocations: 113.8 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.222, allocations: 11.86 kB / 0.9827 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.222, allocations: 16.55 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.222, allocations: 0 / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2221, allocations: 4.094 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2221, allocations: 3.984 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.2225, allocations: 478.7 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2225, allocations: 0 / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.2226, allocations: 7.984 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2226, allocations: 0 / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2226, allocations: 0 / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2226, allocations: 4.062 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2226, allocations: 4 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.2228, allocations: 81.8 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.2228, allocations: 92.94 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.2229, allocations: 0 / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.2229, allocations: 4 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.223, allocations: 4.031 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.223, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001089/0.2231, allocations: 137.6 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.192e-06/0.2231, allocations: 0 / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003187/0.2235, allocations: 11.94 kB / 0.9835 GB, free: 23.3 MB / 0.6198 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.0001212/0.2236, allocations: 95.25 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.2237, allocations: 23.94 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2237, allocations: 128 / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.2238, allocations: 8 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.224, allocations: 12.98 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.2245, allocations: 198 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.2246, allocations: 0.6965 MB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.123e-05/0.2247, allocations: 8.375 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.2247, allocations: 15.38 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.2247, allocations: 0 / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.003268/0.228, allocations: 444.8 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)