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.0065/0.0065, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001515/0.001515, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.739/1.739, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.657/1.657, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001747/0.001747, allocations: 67.91 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2769, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002223/0.2792, allocations: 0.8557 MB / 0.8289 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.2794, allocations: 39.78 kB / 0.8289 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.2794, allocations: 4 kB / 0.8289 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.2795, allocations: 11.86 kB / 0.8289 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2796, allocations: 15.81 kB / 0.829 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.956e-05/0.2797, allocations: 23.97 kB / 0.829 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.2798, allocations: 59.84 kB / 0.829 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.28, allocations: 45.38 kB / 0.8291 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.28, allocations: 31.86 kB / 0.8291 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.2801, allocations: 39.66 kB / 0.8292 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.2801, allocations: 8 kB / 0.8292 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.2802, allocations: 4 kB / 0.8292 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.2802, allocations: 19.94 kB / 0.8292 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.2802, allocations: 39.73 kB / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2804, allocations: 79.62 kB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2804, allocations: 4 kB / 0.8293 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2804, allocations: 0 / 0.8293 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2804, allocations: 0 / 0.8293 GB, free: 14.88 MB / 0.6544 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.000485/0.2809, allocations: 395 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.281, allocations: 8.031 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.281, allocations: 12.78 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.2813, allocations: 192.2 kB / 0.8299 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2813, allocations: 8.375 kB / 0.8299 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.2813, allocations: 4.375 kB / 0.8299 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.2815, allocations: 103.8 kB / 0.83 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2815, allocations: 192 / 0.83 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2815, allocations: 7.938 kB / 0.83 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.2815, allocations: 0 / 0.83 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.435e-05/0.2816, allocations: 39.98 kB / 0.83 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.2822, allocations: 456.5 kB / 0.8305 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.2823, allocations: 37.2 kB / 0.8305 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.2823, allocations: 17.78 kB / 0.8305 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2823, allocations: 4.094 kB / 0.8305 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.2824, allocations: 34.5 kB / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.2824, allocations: 0 / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001947/0.2826, allocations: 65.47 kB / 0.8306 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2826, allocations: 77.11 kB / 0.8307 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.2828, allocations: 167.3 kB / 0.8309 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2828, allocations: 29.95 kB / 0.8309 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.2829, allocations: 112 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.2829, allocations: 3.906 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.283, allocations: 21.7 kB / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2831, allocations: 314.8 kB / 0.8313 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.2831, allocations: 11.98 kB / 0.8313 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.2832, allocations: 17.72 kB / 0.8313 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.2832, allocations: 33.66 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2832, allocations: 0 / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.487e-05/0.2833, allocations: 61.59 kB / 0.8314 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2833, allocations: 4 kB / 0.8314 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2833, allocations: 11.88 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2834, allocations: 0 / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.2834, allocations: 7.938 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2834, allocations: 0 / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.2835, allocations: 15.91 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.2835, allocations: 4 kB / 0.8315 GB, free: 12.38 MB / 0.6544 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 8.079e-05/0.2836, allocations: 113.8 kB / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.2836, allocations: 11.89 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.2837, allocations: 16.5 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2837, allocations: 0 / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2837, allocations: 4 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2837, allocations: 0 / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.2841, allocations: 486.7 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2841, allocations: 0 / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.2841, allocations: 0 / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2842, allocations: 7.938 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2842, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2842, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2842, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.964e-05/0.2843, allocations: 93.83 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.2843, allocations: 89.02 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2844, allocations: 3.984 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.2844, allocations: 0 / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.2844, allocations: 0 / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.2844, allocations: 4 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001052/0.2845, allocations: 124 kB / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2845, allocations: 4.031 kB / 0.8324 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000193/0.2847, allocations: 8 kB / 0.8324 GB, free: 11.32 MB / 0.6544 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.0001318/0.2849, allocations: 99.25 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.285, allocations: 23.92 kB / 0.8325 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.285, allocations: 0 / 0.8325 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.285, allocations: 8 kB / 0.8325 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.2852, allocations: 10.91 kB / 0.8325 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.2856, allocations: 170.5 kB / 0.8327 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.2858, allocations: 0.6961 MB / 0.8334 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.695e-05/0.2859, allocations: 16.36 kB / 0.8334 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.2859, allocations: 7.438 kB / 0.8334 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.2859, allocations: 8 kB / 0.8334 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.002985/0.2889, allocations: 0.4887 MB / 0.8339 GB, free: 9.738 MB / 0.6544 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)