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.001199/0.001199, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002054/0.002054, allocations: 190.7 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.682/1.682, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.645/1.645, allocations: 251.6 MB / 0.5089 GB, free: 3.25 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.001867/0.001867, allocations: 68.23 kB / 0.6217 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7411/0.743, allocations: 104.7 MB / 0.724 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00291/0.7459, allocations: 0.9197 MB / 0.7249 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000164/0.7461, allocations: 43.78 kB / 0.7249 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.7462, allocations: 4 kB / 0.7249 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.772e-05/0.7463, allocations: 3.938 kB / 0.7249 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.7464, allocations: 7.922 kB / 0.7249 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.2e-05/0.7465, allocations: 23.92 kB / 0.725 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.7467, allocations: 67.84 kB / 0.725 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.7469, allocations: 37.39 kB / 0.7251 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.747, allocations: 31.8 kB / 0.7251 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.7471, allocations: 31.8 kB / 0.7251 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.7471, allocations: 4 kB / 0.7251 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.993e-05/0.7471, allocations: 8 kB / 0.7251 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.7472, allocations: 15.92 kB / 0.7252 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.859e-05/0.7473, allocations: 39.73 kB / 0.7252 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.7476, allocations: 85.66 kB / 0.7253 GB, free: 11.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.7476, allocations: 4 kB / 0.7253 GB, free: 11.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.518e-06/0.7476, allocations: 0 / 0.7253 GB, free: 11.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.7476, allocations: 0 / 0.7253 GB, free: 11.9 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.0008877/0.7485, allocations: 395 kB / 0.7257 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.548e-05/0.7486, allocations: 11.97 kB / 0.7257 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/0.7487, allocations: 8.844 kB / 0.7257 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.7491, allocations: 200.1 kB / 0.7259 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.7491, allocations: 12.28 kB / 0.7259 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.7492, allocations: 8.375 kB / 0.7259 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.7494, allocations: 97.97 kB / 0.726 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.7494, allocations: 4.172 kB / 0.726 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.7495, allocations: 3.938 kB / 0.726 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.7495, allocations: 4 kB / 0.726 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.7496, allocations: 39.92 kB / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000886/0.7505, allocations: 444.5 kB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.885e-05/0.7506, allocations: 41.28 kB / 0.7265 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.7506, allocations: 21.84 kB / 0.7265 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.7507, allocations: 0 / 0.7265 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.7507, allocations: 38.56 kB / 0.7266 GB, free: 10.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.7507, allocations: 0 / 0.7266 GB, free: 10.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002557/0.751, allocations: 57.47 kB / 0.7266 GB, free: 10.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.7511, allocations: 81.11 kB / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.7513, allocations: 172.8 kB / 0.7268 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.7514, allocations: 25.7 kB / 0.7269 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.7515, allocations: 104.3 kB / 0.727 GB, free: 9.938 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.7515, allocations: 11.84 kB / 0.727 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.7516, allocations: 13.72 kB / 0.727 GB, free: 9.906 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002429/0.7518, allocations: 322.8 kB / 0.7273 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.7518, allocations: 8 kB / 0.7273 GB, free: 9.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.73e-05/0.7519, allocations: 25.64 kB / 0.7273 GB, free: 9.543 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.752, allocations: 33.72 kB / 0.7274 GB, free: 9.504 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.752, allocations: 0 / 0.7274 GB, free: 9.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001214/0.7521, allocations: 61.53 kB / 0.7274 GB, free: 9.438 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.7521, allocations: 4 kB / 0.7274 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.7522, allocations: 3.938 kB / 0.7274 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.7522, allocations: 0 / 0.7274 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.7523, allocations: 8 kB / 0.7274 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.7523, allocations: 0 / 0.7274 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.7523, allocations: 11.84 kB / 0.7275 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.7524, allocations: 4.062 kB / 0.7275 GB, free: 9.406 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.000164/0.7525, allocations: 117.8 kB / 0.7276 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.7526, allocations: 7.906 kB / 0.7276 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.7526, allocations: 20.42 kB / 0.7276 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.7526, allocations: 0 / 0.7276 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.7527, allocations: 3.938 kB / 0.7276 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.7527, allocations: 0 / 0.7276 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007076/0.7534, allocations: 490.7 kB / 0.7281 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7534, allocations: 0 / 0.7281 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/0.7534, allocations: 4 kB / 0.7281 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.7534, allocations: 0 / 0.7281 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.7534, allocations: 0 / 0.7281 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.7535, allocations: 4 kB / 0.7281 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7535, allocations: 0 / 0.7281 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.7536, allocations: 85.89 kB / 0.7282 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.7537, allocations: 85.02 kB / 0.7282 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.7537, allocations: 0 / 0.7282 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.752e-05/0.7537, allocations: 4 kB / 0.7282 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.7538, allocations: 7.922 kB / 0.7283 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.7538, allocations: 0 / 0.7283 GB, free: 8.484 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00013/0.7539, allocations: 128 kB / 0.7284 GB, free: 8.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7539, allocations: 0 / 0.7284 GB, free: 8.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002024/0.7541, allocations: 8 kB / 0.7284 GB, free: 8.352 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.0002182/0.7544, allocations: 99.28 kB / 0.7285 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.7545, allocations: 20 kB / 0.7285 GB, free: 8.223 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7545, allocations: 0 / 0.7285 GB, free: 8.223 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-05/0.7545, allocations: 15.86 kB / 0.7285 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.7547, allocations: 11.94 kB / 0.7285 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.7552, allocations: 202.3 kB / 0.7287 GB, free: 7.969 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.7557, allocations: 0.6963 MB / 0.7294 GB, free: 7.246 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.413e-05/0.7558, allocations: 12.52 kB / 0.7294 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.7558, allocations: 11.44 kB / 0.7294 GB, free: 7.223 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.7558, allocations: 0 / 0.7294 GB, free: 7.223 MB / 0.545 GB Notification: Performance of Templates: time 0.003266/0.7591, allocations: 492.4 kB / 0.7299 GB, free: 6.742 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (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)