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.00121/0.00121, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001398/0.001398, allocations: 193.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.626/1.626, allocations: 251.6 MB / 0.5089 GB, free: 3.281 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.001453/0.001454, allocations: 59.91 kB / 0.6217 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8438, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002879/0.8468, allocations: 0.9352 MB / 0.7249 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001613/0.847, allocations: 43.72 kB / 0.7249 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.847, allocations: 4 kB / 0.7249 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.389e-05/0.8471, allocations: 7.922 kB / 0.7249 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.8472, allocations: 7.938 kB / 0.725 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.945e-05/0.8473, allocations: 16 kB / 0.725 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.8474, allocations: 67.83 kB / 0.725 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.8476, allocations: 45.38 kB / 0.7251 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.8477, allocations: 27.81 kB / 0.7251 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.8478, allocations: 35.78 kB / 0.7251 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.8478, allocations: 8 kB / 0.7251 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.8478, allocations: 4 kB / 0.7252 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.8479, allocations: 15.92 kB / 0.7252 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.8479, allocations: 35.75 kB / 0.7252 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.8481, allocations: 81.66 kB / 0.7253 GB, free: 11.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.8481, allocations: 0 / 0.7253 GB, free: 11.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.627e-06/0.8481, allocations: 0 / 0.7253 GB, free: 11.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.8481, allocations: 4 kB / 0.7253 GB, free: 11.79 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.0005601/0.8487, allocations: 395 kB / 0.7257 GB, free: 11.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.8487, allocations: 12.03 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.8488, allocations: 8.844 kB / 0.7257 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.8491, allocations: 200.1 kB / 0.7259 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.8491, allocations: 12.28 kB / 0.7259 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.8491, allocations: 4.375 kB / 0.7259 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.8493, allocations: 91.95 kB / 0.726 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8493, allocations: 192 / 0.726 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.8493, allocations: 11.94 kB / 0.726 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.8493, allocations: 0 / 0.726 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.075e-05/0.8494, allocations: 35.92 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.85, allocations: 452.5 kB / 0.7264 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.8501, allocations: 41.34 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.8502, allocations: 21.77 kB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.8502, allocations: 0 / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.8502, allocations: 34.5 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.8502, allocations: 4 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002178/0.8504, allocations: 57.48 kB / 0.7266 GB, free: 10.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.8505, allocations: 81.05 kB / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.8507, allocations: 176.7 kB / 0.7268 GB, free: 9.957 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.8507, allocations: 25.7 kB / 0.7269 GB, free: 9.926 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.8508, allocations: 108 kB / 0.727 GB, free: 9.816 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.8509, allocations: 3.906 kB / 0.727 GB, free: 9.812 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.8509, allocations: 21.97 kB / 0.727 GB, free: 9.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.8511, allocations: 318.8 kB / 0.7273 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.8511, allocations: 4 kB / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/0.8512, allocations: 21.72 kB / 0.7273 GB, free: 9.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.555e-05/0.8512, allocations: 25.72 kB / 0.7274 GB, free: 9.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.8513, allocations: 0 / 0.7274 GB, free: 9.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.269e-05/0.8514, allocations: 73.47 kB / 0.7274 GB, free: 9.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.8514, allocations: 4 kB / 0.7274 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.8514, allocations: 7.938 kB / 0.7274 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.8514, allocations: 0 / 0.7274 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.8515, allocations: 4 kB / 0.7274 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.8515, allocations: 3.984 kB / 0.7274 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.8516, allocations: 11.84 kB / 0.7275 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.8516, allocations: 0 / 0.7275 GB, free: 9.293 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.8517, allocations: 117.8 kB / 0.7276 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.8518, allocations: 11.91 kB / 0.7276 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.8518, allocations: 16.5 kB / 0.7276 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.8518, allocations: 0 / 0.7276 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.8518, allocations: 4 kB / 0.7276 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.8518, allocations: 3.984 kB / 0.7276 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.8523, allocations: 474.7 kB / 0.7281 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8523, allocations: 4 kB / 0.7281 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.8523, allocations: 4.062 kB / 0.7281 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.8523, allocations: 8.094 kB / 0.7281 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.8523, allocations: 0 / 0.7281 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8523, allocations: 0 / 0.7281 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8524, allocations: 3.984 kB / 0.7281 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.8525, allocations: 85.83 kB / 0.7282 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.8526, allocations: 93.03 kB / 0.7282 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.8526, allocations: 0 / 0.7282 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.8526, allocations: 3.938 kB / 0.7282 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.8526, allocations: 4 kB / 0.7283 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.8527, allocations: 4 kB / 0.7283 GB, free: 8.363 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000123/0.8528, allocations: 120 kB / 0.7284 GB, free: 8.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8528, allocations: 3.938 kB / 0.7284 GB, free: 8.242 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001856/0.853, allocations: 8 kB / 0.7284 GB, free: 8.234 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002043/0.8532, allocations: 111.2 kB / 0.7285 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.8533, allocations: 16 kB / 0.7285 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.8533, allocations: 0 / 0.7285 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.8533, allocations: 7.938 kB / 0.7285 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.8535, allocations: 14.86 kB / 0.7285 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.854, allocations: 206.3 kB / 0.7287 GB, free: 7.848 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.8543, allocations: 0.7001 MB / 0.7294 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.8543, allocations: 8.438 kB / 0.7294 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.8543, allocations: 11.44 kB / 0.7294 GB, free: 7.102 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.8543, allocations: 0 / 0.7294 GB, free: 7.102 MB / 0.545 GB Notification: Performance of Templates: time 0.002696/0.857, allocations: 486.1 kB / 0.7299 GB, free: 6.629 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (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)