Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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 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.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.001308/0.001308, allocations: 177.3 kB / 15.94 MB, free: 228 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.844/1.844, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.581/1.581, allocations: 251.9 MB / 0.51 GB, free: 4.77 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.0007257/0.0007259, allocations: 16 kB / 0.6241 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6473/0.648, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001519/0.6496, allocations: 0.5609 MB / 0.7285 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000163/0.6498, allocations: 47.78 kB / 0.7286 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.6499, allocations: 0 / 0.7286 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.6499, allocations: 3.938 kB / 0.7286 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.6501, allocations: 11.97 kB / 0.7286 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.662e-05/0.6501, allocations: 19.92 kB / 0.7286 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.6502, allocations: 39.97 kB / 0.7286 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.6505, allocations: 33.55 kB / 0.7287 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.6505, allocations: 19.88 kB / 0.7287 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.6507, allocations: 23.78 kB / 0.7287 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.6507, allocations: 4 kB / 0.7287 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.6507, allocations: 0 / 0.7287 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.6507, allocations: 15.92 kB / 0.7287 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.6508, allocations: 33.7 kB / 0.7288 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.6509, allocations: 53.84 kB / 0.7288 GB, free: 10.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6509, allocations: 0 / 0.7288 GB, free: 10.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6509, allocations: 7.938 kB / 0.7288 GB, free: 10.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.6509, allocations: 0 / 0.7288 GB, free: 10.54 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.0007062/0.6517, allocations: 378.1 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.6517, allocations: 8.031 kB / 0.7292 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.6518, allocations: 15.81 kB / 0.7292 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.6521, allocations: 198.1 kB / 0.7294 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.6521, allocations: 12 kB / 0.7294 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.6521, allocations: 8 kB / 0.7294 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.6524, allocations: 97.11 kB / 0.7295 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.6524, allocations: 3.938 kB / 0.7295 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.6524, allocations: 4 kB / 0.7295 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6524, allocations: 4 kB / 0.7295 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.689e-05/0.6525, allocations: 39.92 kB / 0.7295 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/0.6533, allocations: 448.6 kB / 0.73 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.6534, allocations: 33.16 kB / 0.73 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.6534, allocations: 96 / 0.73 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.6534, allocations: 46.62 kB / 0.7301 GB, free: 9.094 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.6534, allocations: 0 / 0.7301 GB, free: 9.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002645/0.6537, allocations: 57.44 kB / 0.7301 GB, free: 9.031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.6538, allocations: 81.11 kB / 0.7302 GB, free: 8.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.654, allocations: 164.8 kB / 0.7303 GB, free: 8.762 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.654, allocations: 33.7 kB / 0.7304 GB, free: 8.723 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.6541, allocations: 108 kB / 0.7305 GB, free: 8.613 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.6541, allocations: 4.156 kB / 0.7305 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.6542, allocations: 4 kB / 0.7305 GB, free: 8.605 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002521/0.6544, allocations: 322.8 kB / 0.7308 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.6544, allocations: 8 kB / 0.7308 GB, free: 8.273 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.383e-05/0.6545, allocations: 17.7 kB / 0.7308 GB, free: 8.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.6545, allocations: 8 kB / 0.7308 GB, free: 8.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6545, allocations: 0 / 0.7308 GB, free: 8.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000107/0.6546, allocations: 73.48 kB / 0.7309 GB, free: 8.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.6547, allocations: 4 kB / 0.7309 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6547, allocations: 4 kB / 0.7309 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.6547, allocations: 0 / 0.7309 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.6548, allocations: 4.094 kB / 0.7309 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.6548, allocations: 0 / 0.7309 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.6549, allocations: 11.84 kB / 0.7309 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.6549, allocations: 3.984 kB / 0.7309 GB, free: 8.137 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 0.0001239/0.655, allocations: 117.8 kB / 0.731 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.6551, allocations: 15.92 kB / 0.731 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.6551, allocations: 16.55 kB / 0.7311 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.6551, allocations: 0 / 0.7311 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.6551, allocations: 4 kB / 0.7311 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6551, allocations: 0 / 0.7311 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.6556, allocations: 482.7 kB / 0.7315 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6556, allocations: 0 / 0.7315 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.6556, allocations: 8.062 kB / 0.7315 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6556, allocations: 4 kB / 0.7315 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.6556, allocations: 0 / 0.7315 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6556, allocations: 0 / 0.7315 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6557, allocations: 0 / 0.7315 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.6558, allocations: 95.56 kB / 0.7316 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.6558, allocations: 92.95 kB / 0.7317 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.6559, allocations: 3.938 kB / 0.7317 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.359e-05/0.6559, allocations: 0 / 0.7317 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.6559, allocations: 7.922 kB / 0.7317 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.6559, allocations: 4 kB / 0.7317 GB, free: 7.188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001001/0.656, allocations: 124 kB / 0.7319 GB, free: 7.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.656, allocations: 0 / 0.7319 GB, free: 7.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001869/0.6562, allocations: 8 kB / 0.7319 GB, free: 7.059 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.0001316/0.6564, allocations: 103.2 kB / 0.732 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.368e-05/0.6565, allocations: 12 kB / 0.732 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6565, allocations: 0 / 0.732 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/0.6565, allocations: 15.94 kB / 0.732 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.6566, allocations: 11.94 kB / 0.732 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.657, allocations: 190.2 kB / 0.7322 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.6573, allocations: 0.6965 MB / 0.7329 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.6574, allocations: 12.42 kB / 0.7329 GB, free: 5.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.6574, allocations: 11.44 kB / 0.7329 GB, free: 5.949 MB / 0.545 GB Notification: Performance of SimCode: time 1.353e-06/0.6574, allocations: 0 / 0.7329 GB, free: 5.949 MB / 0.545 GB Notification: Performance of Templates: time 0.002841/0.6603, allocations: 451.5 kB / 0.7333 GB, free: 5.512 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) Environment - environmentSimulation: