Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.008373/0.008372, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001753/0.001753, allocations: 189.2 kB / 16.67 MB, free: 5.93 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.688/1.688, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.613/1.613, allocations: 251.7 MB / 0.5094 GB, free: 380 kB / 430.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.001497/0.001497, allocations: 68.47 kB / 0.7258 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8117/0.8133, allocations: 104.7 MB / 0.8281 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001975/0.8153, allocations: 0.8526 MB / 0.8289 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.000133/0.8154, allocations: 47.77 kB / 0.8289 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.8155, allocations: 4 kB / 0.8289 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.8155, allocations: 15.81 kB / 0.829 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/0.8156, allocations: 7.875 kB / 0.829 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 4.92e-05/0.8157, allocations: 23.97 kB / 0.829 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.8158, allocations: 63.78 kB / 0.829 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.816, allocations: 49.38 kB / 0.8291 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 9.119e-05/0.8161, allocations: 31.8 kB / 0.8291 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.8161, allocations: 27.84 kB / 0.8291 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.8162, allocations: 8 kB / 0.8292 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.8162, allocations: 8 kB / 0.8292 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.8162, allocations: 19.86 kB / 0.8292 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.8163, allocations: 35.75 kB / 0.8292 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.8164, allocations: 87.14 kB / 0.8293 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8164, allocations: 0 / 0.8293 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8164, allocations: 4 kB / 0.8293 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.8164, allocations: 0 / 0.8293 GB, free: 1.336 MB / 0.6231 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.0004585/0.8169, allocations: 389.5 kB / 0.8297 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.8169, allocations: 8.031 kB / 0.8297 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.817, allocations: 12.84 kB / 0.8297 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.8172, allocations: 200 kB / 0.8299 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.8172, allocations: 8.375 kB / 0.8299 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.8173, allocations: 8.375 kB / 0.8299 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.8174, allocations: 95.95 kB / 0.83 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.8174, allocations: 192 / 0.83 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.8175, allocations: 7.938 kB / 0.83 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.8175, allocations: 4 kB / 0.83 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.109e-05/0.8176, allocations: 39.92 kB / 0.83 GB, free: 492 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.8181, allocations: 448.6 kB / 0.8305 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.98e-05/0.8182, allocations: 37.28 kB / 0.8305 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.8182, allocations: 24.02 kB / 0.8305 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.8182, allocations: 0 / 0.8305 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.8183, allocations: 34.56 kB / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 2.745e-06/0.8183, allocations: 4 kB / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.000175/0.8185, allocations: 61.48 kB / 0.8306 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.8185, allocations: 81.05 kB / 0.8307 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.8187, allocations: 169.2 kB / 0.8309 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.8187, allocations: 25.7 kB / 0.8309 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.8188, allocations: 104 kB / 0.831 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.8188, allocations: 3.906 kB / 0.831 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.8188, allocations: 21.97 kB / 0.831 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.819, allocations: 326.8 kB / 0.8313 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.819, allocations: 8 kB / 0.8313 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.819, allocations: 13.72 kB / 0.8313 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.829e-05/0.8191, allocations: 29.72 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8191, allocations: 3.938 kB / 0.8314 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.095e-05/0.8192, allocations: 73.44 kB / 0.8314 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.8192, allocations: 4 kB / 0.8314 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8192, allocations: 3.938 kB / 0.8315 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.8192, allocations: 0 / 0.8315 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.8193, allocations: 8 kB / 0.8315 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.8193, allocations: 3.984 kB / 0.8315 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.305e-05/0.8194, allocations: 3.938 kB / 0.8315 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.8194, allocations: 4 kB / 0.8315 GB, free: 14.85 MB / 0.6387 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.587e-05/0.8195, allocations: 122.9 kB / 0.8316 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.8195, allocations: 7.906 kB / 0.8316 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.8195, allocations: 20.45 kB / 0.8316 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.8195, allocations: 0 / 0.8316 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8196, allocations: 4 kB / 0.8316 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8196, allocations: 3.984 kB / 0.8316 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.82, allocations: 478.7 kB / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.82, allocations: 4.062 kB / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.82, allocations: 4 kB / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.82, allocations: 0 / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.82, allocations: 0 / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-05/0.82, allocations: 4 kB / 0.8321 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8201, allocations: 0 / 0.8321 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.8202, allocations: 81.83 kB / 0.8322 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.8202, allocations: 101.1 kB / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.8202, allocations: 3.938 kB / 0.8323 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.8203, allocations: 4 kB / 0.8323 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.8203, allocations: 0 / 0.8323 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.8203, allocations: 0 / 0.8323 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001059/0.8204, allocations: 125.8 kB / 0.8324 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8204, allocations: 0 / 0.8324 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001941/0.8206, allocations: 12 kB / 0.8324 GB, free: 13.79 MB / 0.6387 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.0001169/0.8207, allocations: 103.2 kB / 0.8325 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.8208, allocations: 16 kB / 0.8325 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8208, allocations: 3.938 kB / 0.8325 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.8209, allocations: 4 kB / 0.8325 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.821, allocations: 15.88 kB / 0.8325 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.8214, allocations: 174.4 kB / 0.8327 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.8216, allocations: 0.7044 MB / 0.8334 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.8217, allocations: 8.422 kB / 0.8334 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.8217, allocations: 11.44 kB / 0.8334 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.8217, allocations: 0 / 0.8334 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of Templates: time 0.002656/0.8244, allocations: 492.4 kB / 0.8339 GB, free: 12.21 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)