Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 108.1 kB / 16.37 MB, free: 6.469 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.001264/0.001264, allocations: 189 kB / 17.31 MB, free: 5.824 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.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.719/1.719, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001417/0.001417, allocations: 78.86 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2034, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002077/0.2055, allocations: 0.8594 MB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001163/0.2056, allocations: 47.78 kB / 0.7857 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.2057, allocations: 0 / 0.7857 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/0.2057, allocations: 11.86 kB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.2058, allocations: 7.875 kB / 0.7857 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.742e-05/0.2059, allocations: 19.98 kB / 0.7857 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.206, allocations: 75.77 kB / 0.7858 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2061, allocations: 41.38 kB / 0.7858 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.2062, allocations: 27.86 kB / 0.7859 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.2063, allocations: 35.72 kB / 0.7859 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.2063, allocations: 8 kB / 0.7859 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.2063, allocations: 12 kB / 0.7859 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.2063, allocations: 15.92 kB / 0.7859 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.2064, allocations: 39.73 kB / 0.786 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.2065, allocations: 79.64 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2065, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2065, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.2065, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 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.0004333/0.207, allocations: 391.1 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.207, allocations: 8.031 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.207, allocations: 20.75 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.2072, allocations: 192.1 kB / 0.7866 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2073, allocations: 4.375 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.2073, allocations: 8.375 kB / 0.7866 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.2074, allocations: 102.8 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2075, allocations: 192 / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2075, allocations: 3.938 kB / 0.7867 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2075, allocations: 4 kB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.219e-05/0.2076, allocations: 43.92 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.2081, allocations: 444.5 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.204e-05/0.2082, allocations: 37.16 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.2082, allocations: 13.84 kB / 0.7872 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.2082, allocations: 4 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.2083, allocations: 42.59 kB / 0.7873 GB, free: 432 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2083, allocations: 0 / 0.7873 GB, free: 432 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001673/0.2084, allocations: 57.47 kB / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.2085, allocations: 81.11 kB / 0.7874 GB, free: 268 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.2087, allocations: 173.7 kB / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.2087, allocations: 29.7 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.363/0.5717, allocations: 104.4 kB / 0.7877 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.5718, allocations: 8.656 kB / 0.7877 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.5718, allocations: 19.53 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.5719, allocations: 315.2 kB / 0.788 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.9e-05/0.572, allocations: 9.969 kB / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-05/0.572, allocations: 16.62 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.572, allocations: 33.98 kB / 0.7881 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.5721, allocations: 0.7969 kB / 0.7881 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001235/0.5722, allocations: 65.91 kB / 0.7882 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5722, allocations: 5.531 kB / 0.7882 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5722, allocations: 3.75 kB / 0.7882 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.5722, allocations: 0 / 0.7882 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.5723, allocations: 9.188 kB / 0.7882 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5724, allocations: 2.25 kB / 0.7882 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.5724, allocations: 6.125 kB / 0.7882 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.5724, allocations: 2.625 kB / 0.7882 GB, free: 48.16 MB / 0.6544 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.456e-05/0.5725, allocations: 114.7 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.5725, allocations: 10.66 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.5726, allocations: 13.08 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5726, allocations: 6.562 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5726, allocations: 2.344 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5726, allocations: 2.438 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.573, allocations: 480.3 kB / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.573, allocations: 6.281 kB / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.573, allocations: 2.625 kB / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.573, allocations: 1.125 kB / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.573, allocations: 0 / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.573, allocations: 2.625 kB / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.573, allocations: 0 / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.04e-05/0.5731, allocations: 87.59 kB / 0.7889 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.5732, allocations: 90.17 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.5732, allocations: 3.375 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.423e-05/0.5732, allocations: 0.5938 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.5732, allocations: 12.33 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.5733, allocations: 0 / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.5733, allocations: 132.5 kB / 0.7891 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5733, allocations: 2.625 kB / 0.7891 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001919/0.5735, allocations: 5.25 kB / 0.7891 GB, free: 47.33 MB / 0.6544 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.0001113/0.5736, allocations: 103.3 kB / 0.7892 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.961e-05/0.5738, allocations: 20 kB / 0.7892 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5738, allocations: 0.5312 kB / 0.7892 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.5738, allocations: 12.97 kB / 0.7893 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.574, allocations: 12.08 kB / 0.7893 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.5743, allocations: 193.4 kB / 0.7895 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.5744, allocations: 0.6967 MB / 0.7901 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.5745, allocations: 10.12 kB / 0.7901 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.5745, allocations: 0 / 0.7901 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.002278/0.5767, allocations: 0.9282 MB / 0.7911 GB, free: 46.38 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)