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.0007995/0.0007995, allocations: 87.84 kB / 15.06 MB, free: 1.082 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.0008135/0.0008137, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.573/1.573, allocations: 252 MB / 0.5102 GB, free: 4.805 MB / 414.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.0005481/0.0005486, allocations: 16 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6973/0.6979, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001156/0.6991, allocations: 0.5578 MB / 0.7287 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.6992, allocations: 43.78 kB / 0.7287 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.6993, allocations: 4 kB / 0.7287 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.6993, allocations: 3.938 kB / 0.7287 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.6995, allocations: 11.92 kB / 0.7287 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.615e-05/0.6995, allocations: 11.98 kB / 0.7287 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.6996, allocations: 63.78 kB / 0.7288 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.6998, allocations: 37.56 kB / 0.7288 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.6999, allocations: 19.86 kB / 0.7289 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.6999, allocations: 23.8 kB / 0.7289 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.7, allocations: 4 kB / 0.7289 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.7, allocations: 0 / 0.7289 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.7, allocations: 11.94 kB / 0.7289 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.7001, allocations: 33.7 kB / 0.7289 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.678e-05/0.7002, allocations: 53.83 kB / 0.729 GB, free: 10.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.7002, allocations: 4 kB / 0.729 GB, free: 10.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7002, allocations: 7.938 kB / 0.729 GB, free: 10.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7002, allocations: 0 / 0.729 GB, free: 10.55 MB / 0.545 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.0004769/0.7007, allocations: 375 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.7007, allocations: 12.03 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.7008, allocations: 11.81 kB / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.701, allocations: 193.7 kB / 0.7295 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.7011, allocations: 4 kB / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.7011, allocations: 11.98 kB / 0.7296 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.7013, allocations: 103.2 kB / 0.7297 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7013, allocations: 7.875 kB / 0.7297 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.7013, allocations: 4 kB / 0.7297 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.7013, allocations: 4 kB / 0.7297 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.038e-05/0.7014, allocations: 35.98 kB / 0.7297 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.702, allocations: 456.6 kB / 0.7301 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.098e-05/0.7021, allocations: 33.16 kB / 0.7302 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.7022, allocations: 21.88 kB / 0.7302 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.7022, allocations: 0 / 0.7302 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.7022, allocations: 38.56 kB / 0.7302 GB, free: 9.082 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.7022, allocations: 0 / 0.7302 GB, free: 9.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002053/0.7024, allocations: 65.44 kB / 0.7303 GB, free: 9.012 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.7025, allocations: 77.11 kB / 0.7304 GB, free: 8.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.7026, allocations: 168.8 kB / 0.7305 GB, free: 8.742 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.7027, allocations: 25.7 kB / 0.7306 GB, free: 8.711 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.7027, allocations: 104 kB / 0.7307 GB, free: 8.605 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.7028, allocations: 8.156 kB / 0.7307 GB, free: 8.598 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.7028, allocations: 0 / 0.7307 GB, free: 8.598 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7029, allocations: 322.8 kB / 0.731 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.7029, allocations: 8 kB / 0.731 GB, free: 8.266 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.7029, allocations: 21.7 kB / 0.731 GB, free: 8.238 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.703, allocations: 12 kB / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.703, allocations: 0 / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.429e-05/0.7031, allocations: 61.5 kB / 0.7311 GB, free: 8.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.7031, allocations: 8 kB / 0.7311 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.7031, allocations: 0 / 0.7311 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7031, allocations: 0 / 0.7311 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.7032, allocations: 7.984 kB / 0.7311 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.7032, allocations: 4 kB / 0.7311 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.7033, allocations: 11.84 kB / 0.7311 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.7033, allocations: 0 / 0.7311 GB, free: 8.129 MB / 0.545 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 8.252e-05/0.7034, allocations: 117.8 kB / 0.7312 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.7034, allocations: 19.92 kB / 0.7312 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.7035, allocations: 12.55 kB / 0.7312 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7035, allocations: 4 kB / 0.7312 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.7035, allocations: 0 / 0.7312 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7035, allocations: 3.938 kB / 0.7313 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.7039, allocations: 474.8 kB / 0.7317 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.7039, allocations: 0 / 0.7317 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.7039, allocations: 8.062 kB / 0.7317 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.7039, allocations: 3.984 kB / 0.7317 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.7039, allocations: 3.938 kB / 0.7317 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.704, allocations: 0 / 0.7317 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.704, allocations: 0 / 0.7317 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.153e-05/0.7041, allocations: 85.8 kB / 0.7318 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.7041, allocations: 96.94 kB / 0.7319 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.7042, allocations: 0 / 0.7319 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.7042, allocations: 0 / 0.7319 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.7042, allocations: 4 kB / 0.7319 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.7042, allocations: 0 / 0.7319 GB, free: 7.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.873e-05/0.7043, allocations: 124 kB / 0.732 GB, free: 7.082 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7043, allocations: 0 / 0.732 GB, free: 7.082 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001933/0.7045, allocations: 8 kB / 0.732 GB, free: 7.074 MB / 0.545 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.0001322/0.7046, allocations: 103.2 kB / 0.7321 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.785e-05/0.7047, allocations: 20 kB / 0.7321 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7048, allocations: 3.938 kB / 0.7321 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.7048, allocations: 8 kB / 0.7322 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.7049, allocations: 11.89 kB / 0.7322 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.7053, allocations: 197.4 kB / 0.7324 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.7056, allocations: 0.6965 MB / 0.733 GB, free: 5.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.722e-05/0.7056, allocations: 8.516 kB / 0.733 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.7057, allocations: 15.44 kB / 0.7331 GB, free: 5.957 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.7057, allocations: 3.938 kB / 0.7331 GB, free: 5.953 MB / 0.545 GB Notification: Performance of Templates: time 0.002837/0.7085, allocations: 449.9 kB / 0.7335 GB, free: 5.516 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: