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_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 252 MB / 268 MB, free: 10.86 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.001029/0.001029, allocations: 191.5 kB / 327.6 MB, free: 2.078 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.621/1.621, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007779/0.0007779, allocations: 89.8 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 12.58 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2174, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001016/0.2184, allocations: 0.5849 MB / 0.902 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001256/0.2186, allocations: 47.78 kB / 0.9021 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.2187, allocations: 0 / 0.9021 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.2187, allocations: 7.922 kB / 0.9021 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.971e-05/0.2188, allocations: 7.938 kB / 0.9021 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.26e-05/0.2189, allocations: 15.98 kB / 0.9021 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.212e-05/0.219, allocations: 63.78 kB / 0.9022 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.2191, allocations: 41.39 kB / 0.9022 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.2192, allocations: 11.88 kB / 0.9022 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.2193, allocations: 31.78 kB / 0.9022 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.2193, allocations: 0 / 0.9022 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.2193, allocations: 4 kB / 0.9023 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.2193, allocations: 11.88 kB / 0.9023 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.2194, allocations: 53.45 kB / 0.9023 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.217e-05/0.2195, allocations: 63.86 kB / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2195, allocations: 0 / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2195, allocations: 0 / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2195, allocations: 0 / 0.9024 GB, free: 62.52 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.0004367/0.2199, allocations: 371.5 kB / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.22, allocations: 8.031 kB / 0.9027 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.2201, allocations: 16.75 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.2203, allocations: 196.2 kB / 0.9029 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2203, allocations: 4.375 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.2203, allocations: 20.3 kB / 0.903 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.2205, allocations: 83.95 kB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2205, allocations: 192 / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.2205, allocations: 7.938 kB / 0.9031 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2205, allocations: 4 kB / 0.9031 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/0.2206, allocations: 39.92 kB / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.2212, allocations: 448.6 kB / 0.9035 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.642e-05/0.2213, allocations: 45.31 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.2213, allocations: 13.72 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.2213, allocations: 8 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.2213, allocations: 34.5 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2213, allocations: 0 / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001802/0.2215, allocations: 65.47 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.2216, allocations: 77.11 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2217, allocations: 166.2 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.148e-06/0.2217, allocations: 29.89 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.2218, allocations: 111.9 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.2218, allocations: 4 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.2218, allocations: 4 kB / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.2219, allocations: 318.8 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.2219, allocations: 4 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.24e-05/0.2219, allocations: 29.64 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.855e-05/0.222, allocations: 29.72 kB / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.222, allocations: 0 / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.448e-05/0.2221, allocations: 65.44 kB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2221, allocations: 4 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2221, allocations: 3.938 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2221, allocations: 4 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.49e-05/0.2222, allocations: 8 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.2222, allocations: 0 / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.673e-05/0.2222, allocations: 11.94 kB / 0.9045 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2223, allocations: 4.062 kB / 0.9045 GB, free: 60.06 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/0.2223, allocations: 113.8 kB / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.2224, allocations: 7.906 kB / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.2224, allocations: 20.48 kB / 0.9047 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2224, allocations: 0 / 0.9047 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2224, allocations: 4 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2224, allocations: 0 / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.2227, allocations: 482.7 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2227, allocations: 4 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.2228, allocations: 0 / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2228, allocations: 4.094 kB / 0.9051 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.2228, allocations: 0 / 0.9051 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2228, allocations: 3.938 kB / 0.9051 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2228, allocations: 3.984 kB / 0.9051 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.416e-05/0.2229, allocations: 89.89 kB / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.2229, allocations: 81.02 kB / 0.9053 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.2229, allocations: 4 kB / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.223, allocations: 0 / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.223, allocations: 3.984 kB / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.223, allocations: 7.938 kB / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.542e-05/0.2231, allocations: 124.9 kB / 0.9054 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2231, allocations: 3.969 kB / 0.9054 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001817/0.2233, allocations: 12 kB / 0.9054 GB, free: 59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001164/0.2234, allocations: 95.25 kB / 0.9055 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.682e-05/0.2235, allocations: 23.94 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2235, allocations: 0 / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.2235, allocations: 8 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.2237, allocations: 11.92 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.224, allocations: 233.8 kB / 0.9058 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.2241, allocations: 0.7004 MB / 0.9065 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.2242, allocations: 11.44 kB / 0.9065 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.2242, allocations: 0 / 0.9065 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.002008/0.2262, allocations: 0.9028 MB / 0.9074 GB, free: 56.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)