Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009866/0.0009871, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008247/0.008248, allocations: 168.4 kB / 16.26 MB, free: 6.652 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.723/1.723, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.862/1.862, 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.0006858/0.0006859, allocations: 17.03 kB / 0.6743 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3512, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001211/0.3524, allocations: 0.5671 MB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001439/0.3526, allocations: 39.8 kB / 0.7885 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.3527, allocations: 4 kB / 0.7885 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.3527, allocations: 7.922 kB / 0.7885 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.3528, allocations: 11.92 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.712e-05/0.3529, allocations: 15.98 kB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.353, allocations: 59.84 kB / 0.7886 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.3532, allocations: 41.33 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.189e-05/0.3533, allocations: 23.81 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.3534, allocations: 23.8 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.3534, allocations: 0 / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.3534, allocations: 4 kB / 0.7887 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.3535, allocations: 7.922 kB / 0.7887 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.3535, allocations: 61.45 kB / 0.7887 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3537, allocations: 75.89 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3537, allocations: 0 / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3537, allocations: 4 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.3537, allocations: 0 / 0.7888 GB, free: 10.66 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.0004806/0.3542, allocations: 371.2 kB / 0.7891 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.3542, allocations: 8.031 kB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.3543, allocations: 16.84 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.3546, allocations: 200.1 kB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3546, allocations: 4.375 kB / 0.7894 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3546, allocations: 8.375 kB / 0.7894 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3548, allocations: 99.8 kB / 0.7895 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3548, allocations: 192 / 0.7895 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3548, allocations: 3.938 kB / 0.7895 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3549, allocations: 4 kB / 0.7895 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.591e-05/0.355, allocations: 35.98 kB / 0.7895 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.3556, allocations: 452.5 kB / 0.7899 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.3557, allocations: 42.22 kB / 0.79 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.3557, allocations: 13.84 kB / 0.79 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.3558, allocations: 4 kB / 0.79 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.3558, allocations: 50.52 kB / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3558, allocations: 0 / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002023/0.356, allocations: 57.48 kB / 0.7901 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.3561, allocations: 77.11 kB / 0.7902 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3563, allocations: 167.6 kB / 0.7903 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3563, allocations: 33.7 kB / 0.7904 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.3564, allocations: 104 kB / 0.7905 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.3564, allocations: 15.89 kB / 0.7905 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.3564, allocations: 9.719 kB / 0.7905 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3566, allocations: 314.8 kB / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-05/0.3567, allocations: 11.98 kB / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/0.3567, allocations: 17.72 kB / 0.7908 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.3568, allocations: 33.66 kB / 0.7909 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3568, allocations: 0 / 0.7909 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.02e-05/0.3569, allocations: 65.53 kB / 0.7909 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3569, allocations: 4 kB / 0.7909 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3569, allocations: 3.938 kB / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3569, allocations: 4 kB / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.357, allocations: 11.94 kB / 0.7909 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.357, allocations: 0 / 0.7909 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.3571, allocations: 11.97 kB / 0.791 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3571, allocations: 0 / 0.791 GB, free: 8.184 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.0001029/0.3572, allocations: 118.5 kB / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.3572, allocations: 7.906 kB / 0.7911 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.3573, allocations: 16.5 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3573, allocations: 0 / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3573, allocations: 0 / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3573, allocations: 4 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.3577, allocations: 482.7 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3577, allocations: 4 kB / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.3577, allocations: 0 / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3577, allocations: 4 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3577, allocations: 0 / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3578, allocations: 0 / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3578, allocations: 0 / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.875e-05/0.3579, allocations: 101.7 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.3579, allocations: 85.02 kB / 0.7917 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3579, allocations: 7.984 kB / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.281e-05/0.358, allocations: 0 / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.358, allocations: 0 / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.358, allocations: 4 kB / 0.7917 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.414e-05/0.3581, allocations: 124 kB / 0.7919 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3581, allocations: 4.031 kB / 0.7919 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001749/0.3583, allocations: 8 kB / 0.7919 GB, free: 7.121 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.0001231/0.3584, allocations: 98.06 kB / 0.792 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.062e-05/0.3585, allocations: 23.92 kB / 0.792 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3585, allocations: 0 / 0.792 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.374e-05/0.3585, allocations: 8 kB / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.3587, allocations: 10.91 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.359, allocations: 192.5 kB / 0.7922 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.3594, allocations: 0.6965 MB / 0.7929 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.797e-05/0.3595, allocations: 12.42 kB / 0.7929 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.3595, allocations: 7.438 kB / 0.7929 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.3595, allocations: 4 kB / 0.7929 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of Templates: time 0.002465/0.362, allocations: 464.5 kB / 0.7933 GB, free: 5.562 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) Environment - environmentSimulation: