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.001752/0.001752, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.00203/0.00203, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.413/1.413, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.641/1.641, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.002226/0.002226, allocations: 72.14 kB / 0.6717 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2524, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002137/0.2546, allocations: 0.906 MB / 0.7844 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.2547, allocations: 51.72 kB / 0.7845 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.2548, allocations: 0 / 0.7845 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.2548, allocations: 3.938 kB / 0.7845 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.549e-05/0.2549, allocations: 3.938 kB / 0.7845 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.66e-05/0.255, allocations: 19.98 kB / 0.7845 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.964e-05/0.2551, allocations: 67.84 kB / 0.7845 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2552, allocations: 41.38 kB / 0.7846 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.894e-05/0.2553, allocations: 39.73 kB / 0.7846 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.2553, allocations: 31.84 kB / 0.7847 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2554, allocations: 4 kB / 0.7847 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.2554, allocations: 8 kB / 0.7847 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.2554, allocations: 15.94 kB / 0.7847 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.2555, allocations: 35.73 kB / 0.7847 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.809e-05/0.2555, allocations: 68.09 kB / 0.7848 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2555, allocations: 0 / 0.7848 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2556, allocations: 0 / 0.7848 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2556, allocations: 0 / 0.7848 GB, free: 12.57 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.0004241/0.256, allocations: 395.2 kB / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.256, allocations: 8.031 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.2561, allocations: 16.73 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.2563, allocations: 192.2 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2563, allocations: 8.375 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.2563, allocations: 4.375 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.2565, allocations: 99.88 kB / 0.7855 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2565, allocations: 8.125 kB / 0.7855 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2565, allocations: 7.938 kB / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2565, allocations: 0 / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.2566, allocations: 39.98 kB / 0.7855 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.2571, allocations: 441.7 kB / 0.7859 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.2571, allocations: 45.16 kB / 0.786 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.2572, allocations: 21.77 kB / 0.786 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.2572, allocations: 0 / 0.786 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2572, allocations: 34.5 kB / 0.786 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2572, allocations: 3.938 kB / 0.786 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001667/0.2574, allocations: 61.53 kB / 0.7861 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.2574, allocations: 85.05 kB / 0.7862 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.2576, allocations: 171.3 kB / 0.7863 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.2576, allocations: 25.7 kB / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.2577, allocations: 111.9 kB / 0.7865 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.2577, allocations: 3.906 kB / 0.7865 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.2577, allocations: 17.72 kB / 0.7865 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.2578, allocations: 327.1 kB / 0.7868 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.2579, allocations: 4 kB / 0.7868 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.2579, allocations: 21.7 kB / 0.7868 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.2579, allocations: 25.72 kB / 0.7869 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2579, allocations: 4 kB / 0.7869 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.834e-05/0.258, allocations: 57.55 kB / 0.7869 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.258, allocations: 16.05 kB / 0.7869 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2581, allocations: 3.938 kB / 0.7869 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2581, allocations: 0 / 0.7869 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.2582, allocations: 4 kB / 0.7869 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2582, allocations: 4 kB / 0.7869 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.2582, allocations: 3.906 kB / 0.787 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.2582, allocations: 3.938 kB / 0.787 GB, free: 10.08 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 6.792e-05/0.2583, allocations: 114.5 kB / 0.7871 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.2583, allocations: 11.91 kB / 0.7871 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.2584, allocations: 20.48 kB / 0.7871 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2584, allocations: 4 kB / 0.7871 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2584, allocations: 3.938 kB / 0.7871 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.2584, allocations: 0 / 0.7871 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.2587, allocations: 482.7 kB / 0.7876 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2588, allocations: 0 / 0.7876 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.2588, allocations: 7.984 kB / 0.7876 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2588, allocations: 4.062 kB / 0.7876 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2588, allocations: 0 / 0.7876 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2588, allocations: 0 / 0.7876 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2588, allocations: 0 / 0.7876 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.896e-05/0.2589, allocations: 85.78 kB / 0.7877 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.259, allocations: 92.91 kB / 0.7877 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.259, allocations: 32 / 0.7877 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.259, allocations: 4 kB / 0.7877 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.259, allocations: 8 kB / 0.7878 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.259, allocations: 0 / 0.7878 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.001e-05/0.2591, allocations: 127.9 kB / 0.7879 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2591, allocations: 0 / 0.7879 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001809/0.2593, allocations: 11.94 kB / 0.7879 GB, free: 9.008 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.0001111/0.2594, allocations: 95.25 kB / 0.788 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.853e-05/0.2595, allocations: 27.94 kB / 0.788 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2595, allocations: 0 / 0.788 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.2595, allocations: 4 kB / 0.788 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.2597, allocations: 15.92 kB / 0.788 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.26, allocations: 218.6 kB / 0.7882 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2603, allocations: 0.6963 MB / 0.7889 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.2603, allocations: 11.44 kB / 0.7889 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2603, allocations: 0 / 0.7889 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of Templates: time 0.002128/0.2625, allocations: 0.9263 MB / 0.7898 GB, free: 6.949 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)