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_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.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 99.55 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.001181/0.001181, 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.793/1.793, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.695/1.695, allocations: 251.9 MB / 0.51 GB, free: 4.945 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.0007405/0.0007409, allocations: 15.59 kB / 0.6241 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6584/0.6592, allocations: 106.3 MB / 0.728 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001469/0.6607, allocations: 0.561 MB / 0.7285 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002555/0.661, allocations: 47.72 kB / 0.7286 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.6611, allocations: 0 / 0.7286 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.6612, allocations: 3.938 kB / 0.7286 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.6614, allocations: 15.97 kB / 0.7286 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.115e-05/0.6615, allocations: 15.94 kB / 0.7286 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.6616, allocations: 35.95 kB / 0.7286 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.6619, allocations: 33.58 kB / 0.7287 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.662, allocations: 19.84 kB / 0.7287 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.6621, allocations: 27.8 kB / 0.7287 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.6621, allocations: 0 / 0.7287 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.6622, allocations: 4 kB / 0.7287 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.6622, allocations: 11.94 kB / 0.7287 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.6623, allocations: 33.7 kB / 0.7288 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.6624, allocations: 57.97 kB / 0.7288 GB, free: 10.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.6625, allocations: 0 / 0.7288 GB, free: 10.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.437e-06/0.6625, allocations: 3.938 kB / 0.7288 GB, free: 10.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.6625, allocations: 0 / 0.7288 GB, free: 10.75 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.0007923/0.6633, allocations: 379 kB / 0.7292 GB, free: 10.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.109e-05/0.6634, allocations: 8.031 kB / 0.7292 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.6635, allocations: 11.81 kB / 0.7292 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.6639, allocations: 198.1 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.6639, allocations: 8 kB / 0.7294 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.664, allocations: 4 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.6642, allocations: 99.22 kB / 0.7295 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.6642, allocations: 0 / 0.7295 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.6643, allocations: 8 kB / 0.7295 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.6643, allocations: 7.922 kB / 0.7295 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.6644, allocations: 35.98 kB / 0.7295 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009965/0.6654, allocations: 448.6 kB / 0.73 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.603e-05/0.6656, allocations: 41.22 kB / 0.73 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.6656, allocations: 4.094 kB / 0.73 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.6656, allocations: 34.5 kB / 0.73 GB, free: 9.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.6657, allocations: 0 / 0.73 GB, free: 9.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003133/0.666, allocations: 65.5 kB / 0.7301 GB, free: 9.246 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.6661, allocations: 77.11 kB / 0.7302 GB, free: 9.152 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.6663, allocations: 168.8 kB / 0.7303 GB, free: 8.977 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.6664, allocations: 25.95 kB / 0.7304 GB, free: 8.945 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.6665, allocations: 108 kB / 0.7305 GB, free: 8.836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.6665, allocations: 11.91 kB / 0.7305 GB, free: 8.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.6665, allocations: 3.938 kB / 0.7305 GB, free: 8.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6667, allocations: 318.8 kB / 0.7308 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.6667, allocations: 4 kB / 0.7308 GB, free: 8.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-05/0.6668, allocations: 25.7 kB / 0.7308 GB, free: 8.465 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.6668, allocations: 12 kB / 0.7308 GB, free: 8.453 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6669, allocations: 0 / 0.7308 GB, free: 8.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001454/0.667, allocations: 65.5 kB / 0.7309 GB, free: 8.383 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.667, allocations: 4 kB / 0.7309 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6671, allocations: 0 / 0.7309 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.6671, allocations: 0 / 0.7309 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.6672, allocations: 11.98 kB / 0.7309 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.6672, allocations: 0 / 0.7309 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.6673, allocations: 7.844 kB / 0.7309 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.6673, allocations: 4 kB / 0.7309 GB, free: 8.355 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.0001387/0.6674, allocations: 121.8 kB / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.6675, allocations: 11.86 kB / 0.731 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.6676, allocations: 16.55 kB / 0.7311 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.6676, allocations: 0 / 0.7311 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6676, allocations: 0 / 0.7311 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6676, allocations: 0 / 0.7311 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.6682, allocations: 478.8 kB / 0.7315 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6682, allocations: 0 / 0.7315 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.6682, allocations: 7.938 kB / 0.7315 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.6683, allocations: 3.984 kB / 0.7315 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.6683, allocations: 0 / 0.7315 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.6683, allocations: 4 kB / 0.7315 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6683, allocations: 0 / 0.7315 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.6684, allocations: 95.64 kB / 0.7316 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.6685, allocations: 96.91 kB / 0.7317 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.6686, allocations: 0 / 0.7317 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.261e-05/0.6686, allocations: 4 kB / 0.7317 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.6686, allocations: 3.938 kB / 0.7317 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.6686, allocations: 0 / 0.7317 GB, free: 7.414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001372/0.6688, allocations: 128 kB / 0.7318 GB, free: 7.289 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6688, allocations: 0 / 0.7318 GB, free: 7.289 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002982/0.6691, allocations: 12.03 kB / 0.7319 GB, free: 7.277 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.0001896/0.6693, allocations: 99.23 kB / 0.732 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.6694, allocations: 16 kB / 0.732 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6695, allocations: 0 / 0.732 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.524e-05/0.6695, allocations: 11.94 kB / 0.732 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.6697, allocations: 14.36 kB / 0.732 GB, free: 7.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.6703, allocations: 194.1 kB / 0.7322 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.6707, allocations: 0.7043 MB / 0.7329 GB, free: 6.184 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.556e-05/0.6708, allocations: 8.422 kB / 0.7329 GB, free: 6.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.6708, allocations: 11.44 kB / 0.7329 GB, free: 6.164 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.6708, allocations: 0 / 0.7329 GB, free: 6.164 MB / 0.545 GB Notification: Performance of Templates: time 0.004249/0.6751, allocations: 443.8 kB / 0.7333 GB, free: 5.73 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) Environment - environmentSimulation: