Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.038/2.038, allocations: 287.5 MB / 302.6 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 185.8 kB / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.4 MB / 0.6298 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 100.8 kB / 0.7432 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003913, allocations: 16.86 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.273, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001129/0.2742, allocations: 0.5443 MB / 0.9792 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001174/0.2744, allocations: 43.78 kB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.2744, allocations: 0 / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.2745, allocations: 3.938 kB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2746, allocations: 7.922 kB / 0.9793 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.676e-05/0.2746, allocations: 15.98 kB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.2748, allocations: 63.78 kB / 0.9793 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.2749, allocations: 41.38 kB / 0.9794 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.275, allocations: 19.88 kB / 0.9794 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.159e-05/0.2751, allocations: 19.86 kB / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.2751, allocations: 7.938 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.2751, allocations: 4 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.2751, allocations: 7.984 kB / 0.9794 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.2752, allocations: 37.64 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.642e-05/0.2753, allocations: 64.02 kB / 0.9795 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.2753, allocations: 0 / 0.9795 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2753, allocations: 4 kB / 0.9795 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2753, allocations: 0 / 0.9795 GB, free: 27.27 MB / 0.6198 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.0004265/0.2757, allocations: 367.2 kB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2758, allocations: 8.031 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.2758, allocations: 16.84 kB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.276, allocations: 196.1 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.276, allocations: 4.375 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.276, allocations: 8.375 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.2762, allocations: 98.14 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2762, allocations: 192 / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.2763, allocations: 11.94 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2763, allocations: 4 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.2763, allocations: 39.98 kB / 0.9803 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.2769, allocations: 448.5 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.43e-05/0.277, allocations: 41.2 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.277, allocations: 17.78 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.277, allocations: 0 / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.277, allocations: 34.59 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.277, allocations: 3.938 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000186/0.2772, allocations: 61.48 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2773, allocations: 81.36 kB / 0.9809 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2774, allocations: 168.3 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.2774, allocations: 25.7 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.2775, allocations: 112 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.146e-06/0.2775, allocations: 3.906 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.2775, allocations: 4 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.2776, allocations: 322.8 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.2776, allocations: 4 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/0.2776, allocations: 21.72 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.2777, allocations: 29.66 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2777, allocations: 0 / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.938e-05/0.2778, allocations: 57.59 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2778, allocations: 4 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2778, allocations: 11.88 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2778, allocations: 0 / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.2779, allocations: 12 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2779, allocations: 0 / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.2779, allocations: 11.91 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.278, allocations: 0 / 0.9817 GB, free: 24.83 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/0.278, allocations: 117.8 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.2781, allocations: 7.906 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.2781, allocations: 16.5 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2781, allocations: 0 / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2781, allocations: 4 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2781, allocations: 4 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.2784, allocations: 478.7 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2784, allocations: 4 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.2785, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2785, allocations: 4 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2785, allocations: 0 / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2785, allocations: 0 / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2785, allocations: 96 / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.909e-05/0.2786, allocations: 101.7 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.2786, allocations: 85 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.2787, allocations: 4 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.304e-05/0.2787, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.2787, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.2787, allocations: 4 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.941e-05/0.2788, allocations: 132.9 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2788, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001784/0.279, allocations: 11.94 kB / 0.9826 GB, free: 23.76 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.2791, allocations: 95.25 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.435e-05/0.2792, allocations: 27.92 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2792, allocations: 0 / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.2792, allocations: 8.188 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.2794, allocations: 14.05 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.2797, allocations: 190 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.2799, allocations: 0.7004 MB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.768e-05/0.2799, allocations: 8.422 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.28, allocations: 15.38 kB / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.28, allocations: 0 / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.002361/0.2823, allocations: 444.7 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)