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.0008055/0.0008057, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007279/0.007279, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.715/1.715, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.822/1.822, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005769/0.0005769, allocations: 14.81 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3382, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001329/0.3396, allocations: 0.5632 MB / 0.7884 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001316/0.3398, allocations: 39.78 kB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.157e-05/0.3399, allocations: 0 / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.3399, allocations: 11.92 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.34, allocations: 7.938 kB / 0.7885 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.108e-05/0.3401, allocations: 19.98 kB / 0.7885 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3402, allocations: 63.78 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.3404, allocations: 37.39 kB / 0.7886 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.3405, allocations: 19.88 kB / 0.7886 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.3405, allocations: 19.8 kB / 0.7886 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.3406, allocations: 0 / 0.7886 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.3406, allocations: 7.938 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.3406, allocations: 11.92 kB / 0.7887 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.3407, allocations: 61.44 kB / 0.7887 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.3408, allocations: 67.91 kB / 0.7888 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3408, allocations: 4 kB / 0.7888 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3408, allocations: 0 / 0.7888 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3409, allocations: 4 kB / 0.7888 GB, free: 10.63 MB / 0.6075 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.0005168/0.3414, allocations: 375.2 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3414, allocations: 8.031 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.3415, allocations: 12.84 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.3417, allocations: 200.1 kB / 0.7894 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.3418, allocations: 12.38 kB / 0.7894 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.3418, allocations: 4.375 kB / 0.7894 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.342, allocations: 99.86 kB / 0.7895 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.342, allocations: 192 / 0.7895 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.342, allocations: 7.938 kB / 0.7895 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.342, allocations: 4 kB / 0.7895 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.3421, allocations: 39.92 kB / 0.7895 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.3428, allocations: 444.6 kB / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.3429, allocations: 46.23 kB / 0.79 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.3429, allocations: 21.78 kB / 0.79 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.3429, allocations: 0 / 0.79 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.343, allocations: 38.55 kB / 0.7901 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.343, allocations: 4 kB / 0.7901 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002368/0.3432, allocations: 61.48 kB / 0.7901 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.3433, allocations: 77.11 kB / 0.7902 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.3435, allocations: 171.3 kB / 0.7904 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3435, allocations: 25.7 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.3436, allocations: 104 kB / 0.7905 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.3437, allocations: 11.89 kB / 0.7905 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.3437, allocations: 13.97 kB / 0.7905 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3439, allocations: 322.8 kB / 0.7908 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.3439, allocations: 4 kB / 0.7908 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.062e-05/0.3439, allocations: 25.66 kB / 0.7908 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.344, allocations: 25.72 kB / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.344, allocations: 0 / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.273e-05/0.3441, allocations: 65.53 kB / 0.7909 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3441, allocations: 4 kB / 0.7909 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3441, allocations: 3.938 kB / 0.7909 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3442, allocations: 4 kB / 0.7909 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.3442, allocations: 4 kB / 0.7909 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3443, allocations: 0 / 0.7909 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.3443, allocations: 11.91 kB / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.3443, allocations: 0 / 0.7909 GB, free: 8.156 MB / 0.6075 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 0.0001165/0.3444, allocations: 118.5 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.3445, allocations: 11.91 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.3445, allocations: 12.5 kB / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3445, allocations: 0 / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3445, allocations: 4 kB / 0.7911 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3446, allocations: 0 / 0.7911 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.345, allocations: 490.6 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.345, allocations: 4 kB / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.3451, allocations: 4.062 kB / 0.7916 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3451, allocations: 7.938 kB / 0.7916 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3451, allocations: 0 / 0.7916 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3451, allocations: 3.938 kB / 0.7916 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3451, allocations: 0 / 0.7916 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.3452, allocations: 89.73 kB / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/0.3453, allocations: 93.03 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3453, allocations: 0 / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.254e-05/0.3454, allocations: 0 / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.3454, allocations: 0 / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.3454, allocations: 8 kB / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001058/0.3455, allocations: 124 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3455, allocations: 0 / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001839/0.3457, allocations: 8 kB / 0.7919 GB, free: 7.086 MB / 0.6075 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.0001424/0.3458, allocations: 103.2 kB / 0.792 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.715e-05/0.3459, allocations: 19.98 kB / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.346, allocations: 0 / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.346, allocations: 15.94 kB / 0.792 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.3462, allocations: 7.938 kB / 0.792 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.3466, allocations: 192.5 kB / 0.7922 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3469, allocations: 0.6926 MB / 0.7929 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.036e-05/0.3469, allocations: 12.42 kB / 0.7929 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.347, allocations: 11.44 kB / 0.7929 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.347, allocations: 4 kB / 0.7929 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.003114/0.3501, allocations: 452.7 kB / 0.7933 GB, free: 5.527 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: