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.001247/0.001247, allocations: 101.7 kB / 16.35 MB, free: 5.879 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.001199/0.001199, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.837/1.837, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001463/0.001463, allocations: 71.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2329, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002331/0.2352, allocations: 0.856 MB / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001488/0.2354, allocations: 47.77 kB / 0.7857 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.2355, allocations: 4 kB / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.2355, allocations: 7.875 kB / 0.7857 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.821e-05/0.2356, allocations: 7.875 kB / 0.7857 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.047e-05/0.2357, allocations: 27.91 kB / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.2359, allocations: 63.84 kB / 0.7858 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.2361, allocations: 41.33 kB / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.2362, allocations: 31.86 kB / 0.7858 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.443e-05/0.2363, allocations: 35.78 kB / 0.7859 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.2363, allocations: 8 kB / 0.7859 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.2364, allocations: 4 kB / 0.7859 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.2364, allocations: 23.91 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.2365, allocations: 35.75 kB / 0.7859 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.2366, allocations: 83.58 kB / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2366, allocations: 0 / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2366, allocations: 0 / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.2367, allocations: 0 / 0.786 GB, free: 1.918 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.0005621/0.2372, allocations: 391.1 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2373, allocations: 8.031 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.2373, allocations: 20.75 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.2376, allocations: 200.1 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2376, allocations: 4.375 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.2377, allocations: 8.375 kB / 0.7866 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.2378, allocations: 94.92 kB / 0.7867 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2379, allocations: 192 / 0.7867 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2379, allocations: 11.88 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.2379, allocations: 4 kB / 0.7867 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.722e-05/0.238, allocations: 39.92 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.2387, allocations: 440.5 kB / 0.7872 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.823e-05/0.2387, allocations: 45.34 kB / 0.7872 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.2388, allocations: 13.78 kB / 0.7872 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.2388, allocations: 3.984 kB / 0.7872 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.2388, allocations: 34.56 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.2388, allocations: 0 / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002169/0.2391, allocations: 57.48 kB / 0.7873 GB, free: 388 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/0.2392, allocations: 81.36 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.2394, allocations: 177.4 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2394, allocations: 29.7 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4005/0.6399, allocations: 104.5 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.64, allocations: 5.094 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.64, allocations: 19.05 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.97e-05/0.6401, allocations: 319.8 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.682e-05/0.6401, allocations: 6.781 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.6402, allocations: 24.06 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/0.6402, allocations: 25.78 kB / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6402, allocations: 0 / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001182/0.6404, allocations: 64.73 kB / 0.7881 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6404, allocations: 7.688 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6404, allocations: 3.75 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.6404, allocations: 1.312 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/0.6405, allocations: 8.438 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6405, allocations: 2.156 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.6406, allocations: 2.531 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.6406, allocations: 3.188 kB / 0.7882 GB, free: 48.17 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 6.542e-05/0.6407, allocations: 117.5 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.6407, allocations: 12.03 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.6408, allocations: 17.23 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6408, allocations: 4.781 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6408, allocations: 0 / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6408, allocations: 2.969 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.6411, allocations: 479 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6412, allocations: 6.422 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.6412, allocations: 2.688 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.6412, allocations: 2.625 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.6412, allocations: 0 / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.6412, allocations: 6.547 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6412, allocations: 1.188 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.716e-05/0.6413, allocations: 84.5 kB / 0.7889 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.6413, allocations: 90.45 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.6414, allocations: 2.406 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.528e-05/0.6414, allocations: 0.6094 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.6414, allocations: 4.281 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.6414, allocations: 4.125 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.973e-05/0.6415, allocations: 130.2 kB / 0.7891 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6415, allocations: 0 / 0.7891 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001887/0.6417, allocations: 10.81 kB / 0.7891 GB, free: 47.34 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.935e-05/0.6418, allocations: 96.16 kB / 0.7892 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.988e-05/0.6419, allocations: 25.17 kB / 0.7892 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6419, allocations: 1.969 kB / 0.7892 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.6419, allocations: 9.156 kB / 0.7892 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.6421, allocations: 9.969 kB / 0.7892 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.6424, allocations: 169.1 kB / 0.7894 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.6425, allocations: 0.6963 MB / 0.7901 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.6426, allocations: 3.375 kB / 0.7901 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.6426, allocations: 10.31 kB / 0.7901 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.6426, allocations: 4.969 kB / 0.7901 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.002365/0.645, allocations: 483.4 kB / 0.7906 GB, free: 46.41 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)