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_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.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001637, allocations: 99.62 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.00157/0.00157, allocations: 177.3 kB / 15.95 MB, free: 216 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.83/1.83, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.704/1.704, allocations: 251.9 MB / 0.51 GB, free: 4.848 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.0007092/0.0007096, allocations: 16 kB / 0.6241 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6481/0.6489, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001287/0.6502, allocations: 0.5532 MB / 0.7285 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001223/0.6503, allocations: 51.77 kB / 0.7286 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.6504, allocations: 0 / 0.7286 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.6504, allocations: 3.938 kB / 0.7286 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.6505, allocations: 4 kB / 0.7286 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.586e-05/0.6506, allocations: 19.98 kB / 0.7286 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.149e-05/0.6507, allocations: 47.88 kB / 0.7286 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.6509, allocations: 25.58 kB / 0.7287 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.355e-05/0.6509, allocations: 19.86 kB / 0.7287 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.651, allocations: 27.8 kB / 0.7287 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.651, allocations: 4 kB / 0.7287 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-06/0.651, allocations: 0 / 0.7287 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.6511, allocations: 15.92 kB / 0.7287 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.6511, allocations: 33.7 kB / 0.7288 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.81e-05/0.6512, allocations: 49.84 kB / 0.7288 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6512, allocations: 0 / 0.7288 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.614e-06/0.6512, allocations: 4 kB / 0.7288 GB, free: 10.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.6512, allocations: 0 / 0.7288 GB, free: 10.56 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.0004714/0.6517, allocations: 386 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.6518, allocations: 8.031 kB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.6518, allocations: 15.81 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.6521, allocations: 194.9 kB / 0.7294 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.6521, allocations: 4 kB / 0.7294 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.6521, allocations: 8 kB / 0.7294 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.6523, allocations: 101.4 kB / 0.7295 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.6523, allocations: 3.938 kB / 0.7295 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6523, allocations: 8 kB / 0.7295 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.6523, allocations: 4 kB / 0.7295 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.6524, allocations: 35.98 kB / 0.7295 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.653, allocations: 444.6 kB / 0.73 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.29e-05/0.6531, allocations: 41.09 kB / 0.73 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.6531, allocations: 3.984 kB / 0.73 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.6532, allocations: 42.72 kB / 0.7301 GB, free: 9.113 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.6532, allocations: 0 / 0.7301 GB, free: 9.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.6534, allocations: 57.44 kB / 0.7301 GB, free: 9.051 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.6534, allocations: 85.36 kB / 0.7302 GB, free: 8.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.6536, allocations: 164.8 kB / 0.7304 GB, free: 8.777 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.6536, allocations: 29.7 kB / 0.7304 GB, free: 8.742 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.6537, allocations: 104 kB / 0.7305 GB, free: 8.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.6537, allocations: 7.906 kB / 0.7305 GB, free: 8.629 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.6537, allocations: 0 / 0.7305 GB, free: 8.629 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6539, allocations: 322.8 kB / 0.7308 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.6539, allocations: 4 kB / 0.7308 GB, free: 8.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.6539, allocations: 21.72 kB / 0.7308 GB, free: 8.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.797e-05/0.654, allocations: 11.98 kB / 0.7308 GB, free: 8.262 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.654, allocations: 0 / 0.7308 GB, free: 8.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.733e-05/0.6541, allocations: 65.5 kB / 0.7309 GB, free: 8.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6541, allocations: 4 kB / 0.7309 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.6541, allocations: 4 kB / 0.7309 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.6541, allocations: 0 / 0.7309 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.6542, allocations: 7.984 kB / 0.7309 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6542, allocations: 4.062 kB / 0.7309 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.6543, allocations: 11.84 kB / 0.7309 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.6543, allocations: 0 / 0.7309 GB, free: 8.16 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.00011/0.6544, allocations: 113.8 kB / 0.731 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.6545, allocations: 15.8 kB / 0.731 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.6545, allocations: 12.56 kB / 0.7311 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6545, allocations: 0 / 0.7311 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.6545, allocations: 7.984 kB / 0.7311 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6545, allocations: 0 / 0.7311 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.655, allocations: 486.7 kB / 0.7315 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.655, allocations: 0 / 0.7315 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.6551, allocations: 0 / 0.7315 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6551, allocations: 4 kB / 0.7315 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.6551, allocations: 0 / 0.7315 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.6551, allocations: 7.984 kB / 0.7315 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6551, allocations: 0 / 0.7315 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.6553, allocations: 95.64 kB / 0.7316 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/0.6554, allocations: 96.91 kB / 0.7317 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.6554, allocations: 0 / 0.7317 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.6554, allocations: 0 / 0.7317 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.6554, allocations: 3.938 kB / 0.7317 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.6555, allocations: 11.97 kB / 0.7317 GB, free: 7.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001084/0.6556, allocations: 124 kB / 0.7319 GB, free: 7.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6556, allocations: 0 / 0.7319 GB, free: 7.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001958/0.6558, allocations: 8 kB / 0.7319 GB, free: 7.078 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.000238/0.656, allocations: 99.23 kB / 0.732 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.6562, allocations: 16 kB / 0.732 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6562, allocations: 0 / 0.732 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.157e-05/0.6562, allocations: 16.06 kB / 0.732 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.6564, allocations: 7.953 kB / 0.732 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.6568, allocations: 198 kB / 0.7322 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.6573, allocations: 0.6965 MB / 0.7329 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.6573, allocations: 8.422 kB / 0.7329 GB, free: 5.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.6574, allocations: 11.44 kB / 0.7329 GB, free: 5.969 MB / 0.545 GB Notification: Performance of SimCode: time 2.334e-06/0.6574, allocations: 0 / 0.7329 GB, free: 5.969 MB / 0.545 GB Notification: Performance of Templates: time 0.003743/0.6611, allocations: 443.9 kB / 0.7333 GB, free: 5.535 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) Environment - environmentSimulation: