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.001201/0.001201, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001486/0.001487, allocations: 198.7 kB / 16.14 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.573/1.573, allocations: 205.1 MB / 222 MB, free: 4.73 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.748/1.748, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.001324/0.001324, allocations: 67.69 kB / 0.6708 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2544, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002319/0.2567, allocations: 0.9087 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001181/0.2569, allocations: 47.7 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.2569, allocations: 4 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.741e-05/0.257, allocations: 7.938 kB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.989e-05/0.2571, allocations: 7.938 kB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.493e-05/0.2571, allocations: 19.92 kB / 0.7836 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.2574, allocations: 59.91 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.2575, allocations: 41.33 kB / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.2576, allocations: 27.8 kB / 0.7838 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.2576, allocations: 35.78 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.2577, allocations: 4 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.2577, allocations: 4 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.2577, allocations: 11.92 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.2578, allocations: 35.8 kB / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.2579, allocations: 71.92 kB / 0.7839 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2579, allocations: 4 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.52e-07/0.258, allocations: 4 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.258, allocations: 0 / 0.7839 GB, free: 12.73 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.0006173/0.2586, allocations: 395.2 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2586, allocations: 8.031 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2587, allocations: 16.73 kB / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.2589, allocations: 196.1 kB / 0.7845 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2589, allocations: 8.375 kB / 0.7845 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2589, allocations: 4.375 kB / 0.7845 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.2591, allocations: 99.88 kB / 0.7846 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2591, allocations: 8.125 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2592, allocations: 3.938 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.2592, allocations: 0 / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.2593, allocations: 39.98 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.2598, allocations: 453.5 kB / 0.7851 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.2599, allocations: 41.22 kB / 0.7851 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.2599, allocations: 17.78 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.2599, allocations: 0 / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.26, allocations: 38.59 kB / 0.7852 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.26, allocations: 0 / 0.7852 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.2602, allocations: 61.47 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.2602, allocations: 77.11 kB / 0.7853 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.2604, allocations: 172.5 kB / 0.7855 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2604, allocations: 29.7 kB / 0.7855 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.2605, allocations: 112.1 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.368e-06/0.2605, allocations: 7.906 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.2605, allocations: 17.7 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2607, allocations: 322.8 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.2607, allocations: 7.984 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.2608, allocations: 17.72 kB / 0.786 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.2608, allocations: 33.66 kB / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2608, allocations: 0 / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.487e-05/0.2609, allocations: 57.59 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2609, allocations: 4 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2609, allocations: 7.938 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.261, allocations: 0 / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.261, allocations: 4 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.261, allocations: 3.938 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.2611, allocations: 11.91 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.2611, allocations: 0 / 0.7861 GB, free: 10.23 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 8.503e-05/0.2612, allocations: 118.6 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.2612, allocations: 11.89 kB / 0.7862 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.2613, allocations: 12.5 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2613, allocations: 4 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2613, allocations: 4 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.2613, allocations: 3.938 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.2617, allocations: 494.7 kB / 0.7867 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2617, allocations: 0 / 0.7867 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.2617, allocations: 4 kB / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2617, allocations: 0 / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2618, allocations: 0 / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2618, allocations: 0 / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2618, allocations: 0 / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.2619, allocations: 93.83 kB / 0.7868 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.262, allocations: 88.92 kB / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.262, allocations: 3.984 kB / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.262, allocations: 3.938 kB / 0.7869 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.262, allocations: 0 / 0.7869 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.2621, allocations: 4 kB / 0.7869 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001042/0.2622, allocations: 124 kB / 0.787 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2622, allocations: 0 / 0.787 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001878/0.2624, allocations: 8 kB / 0.787 GB, free: 9.164 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.000121/0.2625, allocations: 103.3 kB / 0.7871 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.506e-05/0.2626, allocations: 23.92 kB / 0.7872 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2626, allocations: 4 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.2626, allocations: 4 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.2628, allocations: 12.03 kB / 0.7872 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.2632, allocations: 196.5 kB / 0.7874 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.2635, allocations: 0.6926 MB / 0.788 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.2635, allocations: 16.41 kB / 0.7881 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.2636, allocations: 11.44 kB / 0.7881 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2636, allocations: 0 / 0.7881 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of Templates: time 0.002548/0.2661, allocations: 456.5 kB / 0.7885 GB, free: 7.598 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)