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_ton.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_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, 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.001066/0.001066, 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.927/1.927, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.606/1.606, allocations: 251.9 MB / 0.51 GB, free: 4.773 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.0006881/0.0006886, allocations: 15.12 kB / 0.6241 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.6042, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001247/0.6055, allocations: 0.561 MB / 0.7285 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.6057, allocations: 43.78 kB / 0.7286 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.6058, allocations: 0 / 0.7286 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.6058, allocations: 7.938 kB / 0.7286 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.606, allocations: 11.98 kB / 0.7286 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.907e-05/0.606, allocations: 15.98 kB / 0.7286 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.506e-05/0.6061, allocations: 39.89 kB / 0.7286 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.6063, allocations: 29.58 kB / 0.7287 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.6064, allocations: 23.84 kB / 0.7287 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.6065, allocations: 23.8 kB / 0.7287 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.6065, allocations: 4 kB / 0.7287 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.6065, allocations: 3.938 kB / 0.7287 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.6065, allocations: 11.94 kB / 0.7287 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.6066, allocations: 33.7 kB / 0.7288 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.865e-05/0.6067, allocations: 57.83 kB / 0.7288 GB, free: 10.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6067, allocations: 0 / 0.7288 GB, free: 10.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6067, allocations: 0 / 0.7288 GB, free: 10.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.6067, allocations: 0 / 0.7288 GB, free: 10.59 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.0004898/0.6072, allocations: 378.9 kB / 0.7292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.6072, allocations: 16.02 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.6073, allocations: 11.81 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.6076, allocations: 190.9 kB / 0.7294 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.6076, allocations: 8 kB / 0.7294 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.6076, allocations: 4 kB / 0.7294 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.6078, allocations: 105.6 kB / 0.7295 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.6078, allocations: 0 / 0.7295 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.6078, allocations: 7.938 kB / 0.7295 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.6079, allocations: 8 kB / 0.7295 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.799e-05/0.608, allocations: 35.98 kB / 0.7295 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006358/0.6086, allocations: 448.6 kB / 0.73 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.478e-05/0.6087, allocations: 37.16 kB / 0.73 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.6087, allocations: 128 / 0.73 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.6087, allocations: 38.59 kB / 0.73 GB, free: 9.148 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.6087, allocations: 0 / 0.73 GB, free: 9.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000208/0.609, allocations: 69.66 kB / 0.7301 GB, free: 9.074 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.609, allocations: 77.11 kB / 0.7302 GB, free: 8.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.6092, allocations: 165.5 kB / 0.7303 GB, free: 8.809 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.6092, allocations: 25.7 kB / 0.7304 GB, free: 8.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.6093, allocations: 104 kB / 0.7305 GB, free: 8.672 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.826e-06/0.6093, allocations: 7.906 kB / 0.7305 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.6093, allocations: 0 / 0.7305 GB, free: 8.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6094, allocations: 322.8 kB / 0.7308 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.6095, allocations: 8.031 kB / 0.7308 GB, free: 8.332 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.6095, allocations: 17.72 kB / 0.7308 GB, free: 8.309 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.6095, allocations: 12 kB / 0.7308 GB, free: 8.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6095, allocations: 3.984 kB / 0.7308 GB, free: 8.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001007/0.6097, allocations: 61.5 kB / 0.7309 GB, free: 8.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.6097, allocations: 8 kB / 0.7309 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6097, allocations: 0 / 0.7309 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6097, allocations: 64 / 0.7309 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.6098, allocations: 8 kB / 0.7309 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.6098, allocations: 11.92 kB / 0.7309 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.6099, allocations: 7.938 kB / 0.7309 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.6099, allocations: 4 kB / 0.7309 GB, free: 8.188 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 9.556e-05/0.61, allocations: 113.8 kB / 0.731 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.61, allocations: 15.84 kB / 0.731 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.61, allocations: 16.5 kB / 0.7311 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6101, allocations: 0 / 0.7311 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6101, allocations: 0 / 0.7311 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6101, allocations: 7.984 kB / 0.7311 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.6105, allocations: 474.8 kB / 0.7315 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6105, allocations: 3.938 kB / 0.7315 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.6106, allocations: 4 kB / 0.7315 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.6106, allocations: 0 / 0.7315 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.6106, allocations: 0 / 0.7315 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6106, allocations: 0 / 0.7315 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.6106, allocations: 12.05 kB / 0.7315 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.6107, allocations: 87.58 kB / 0.7316 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.6108, allocations: 96.91 kB / 0.7317 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.6108, allocations: 0 / 0.7317 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.461e-05/0.6108, allocations: 0 / 0.7317 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.6109, allocations: 11.97 kB / 0.7317 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.6109, allocations: 0 / 0.7317 GB, free: 7.246 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001092/0.611, allocations: 128.9 kB / 0.7318 GB, free: 7.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.72e-07/0.611, allocations: 0 / 0.7318 GB, free: 7.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001936/0.6112, allocations: 8 kB / 0.7319 GB, free: 7.113 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.0001437/0.6113, allocations: 103.2 kB / 0.732 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.179e-05/0.6114, allocations: 12 kB / 0.732 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.6114, allocations: 8.125 kB / 0.732 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.388e-05/0.6115, allocations: 11.94 kB / 0.732 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.6116, allocations: 7.953 kB / 0.732 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.612, allocations: 194 kB / 0.7322 GB, free: 6.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.6123, allocations: 0.6965 MB / 0.7329 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.6124, allocations: 12.42 kB / 0.7329 GB, free: 6.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.6124, allocations: 7.438 kB / 0.7329 GB, free: 6.004 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.6124, allocations: 4 kB / 0.7329 GB, free: 6 MB / 0.545 GB Notification: Performance of Templates: time 0.002684/0.6151, allocations: 447.8 kB / 0.7333 GB, free: 5.562 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) Environment - environmentSimulation: