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_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00825/0.00825, allocations: 100.7 kB / 15.73 MB, free: 6.016 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.001354/0.001354, allocations: 185.8 kB / 16.67 MB, free: 5.934 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.695/1.695, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.674/1.674, allocations: 251.7 MB / 0.5094 GB, free: 3.008 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.002342/0.002343, allocations: 71.89 kB / 0.7258 GB, free: 9.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2794, allocations: 104.7 MB / 0.8281 GB, free: 432 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002323/0.2818, allocations: 0.8595 MB / 0.8289 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001466/0.2819, allocations: 51.78 kB / 0.829 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.282, allocations: 0 / 0.829 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.896e-05/0.2821, allocations: 11.86 kB / 0.829 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.2822, allocations: 7.875 kB / 0.829 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.522e-05/0.2822, allocations: 23.97 kB / 0.829 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2824, allocations: 71.78 kB / 0.8291 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.2826, allocations: 37.39 kB / 0.8291 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.2827, allocations: 27.86 kB / 0.8291 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.468e-05/0.2827, allocations: 31.78 kB / 0.8292 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.2828, allocations: 8 kB / 0.8292 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.2828, allocations: 8 kB / 0.8292 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.2828, allocations: 15.92 kB / 0.8292 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.2829, allocations: 43.67 kB / 0.8292 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.283, allocations: 83.58 kB / 0.8293 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.283, allocations: 0 / 0.8293 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.883e-06/0.283, allocations: 0 / 0.8293 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.283, allocations: 0 / 0.8293 GB, free: 15.14 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.0005211/0.2836, allocations: 397.6 kB / 0.8297 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2836, allocations: 11.97 kB / 0.8297 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.2837, allocations: 16.89 kB / 0.8297 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.2839, allocations: 204 kB / 0.8299 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.2839, allocations: 8.375 kB / 0.8299 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.2839, allocations: 8.375 kB / 0.8299 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2841, allocations: 94.61 kB / 0.83 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2841, allocations: 192 / 0.83 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2842, allocations: 7.875 kB / 0.83 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.2842, allocations: 4 kB / 0.83 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-05/0.2843, allocations: 39.92 kB / 0.8301 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.2848, allocations: 444.6 kB / 0.8305 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.2849, allocations: 41.28 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.285, allocations: 13.84 kB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.285, allocations: 0 / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.285, allocations: 42.56 kB / 0.8306 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.285, allocations: 0 / 0.8306 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001881/0.2852, allocations: 61.52 kB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.2853, allocations: 81.05 kB / 0.8307 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.2854, allocations: 167.3 kB / 0.8309 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2855, allocations: 29.7 kB / 0.8309 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.2856, allocations: 112.2 kB / 0.831 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.2856, allocations: 11.94 kB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.2856, allocations: 13.72 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2857, allocations: 322.8 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.2858, allocations: 8 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/0.2858, allocations: 17.72 kB / 0.8314 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.2858, allocations: 25.72 kB / 0.8314 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2858, allocations: 4 kB / 0.8314 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.749e-05/0.2859, allocations: 65.58 kB / 0.8315 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.286, allocations: 4 kB / 0.8315 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.286, allocations: 3.938 kB / 0.8315 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.286, allocations: 0 / 0.8315 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.2861, allocations: 8 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2861, allocations: 0 / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.2861, allocations: 3.953 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.2861, allocations: 12 kB / 0.8315 GB, free: 12.64 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.543e-05/0.2862, allocations: 125.8 kB / 0.8316 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.2863, allocations: 11.95 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.2863, allocations: 12.5 kB / 0.8316 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2863, allocations: 96 / 0.8316 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2863, allocations: 3.938 kB / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.2863, allocations: 3.984 kB / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.2868, allocations: 494.7 kB / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2868, allocations: 0 / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.2868, allocations: 4 kB / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2868, allocations: 0 / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.2868, allocations: 0 / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2868, allocations: 4 kB / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2868, allocations: 0 / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.287, allocations: 89.89 kB / 0.8322 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.287, allocations: 85.06 kB / 0.8323 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.2871, allocations: 3.984 kB / 0.8323 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.2871, allocations: 7.938 kB / 0.8323 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.2871, allocations: 0 / 0.8323 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.2871, allocations: 0 / 0.8323 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001197/0.2872, allocations: 128 kB / 0.8324 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2872, allocations: 0 / 0.8324 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001851/0.2874, allocations: 8 kB / 0.8324 GB, free: 11.57 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.0001593/0.2876, allocations: 102 kB / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.2877, allocations: 19.98 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.2877, allocations: 4 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.2878, allocations: 7.938 kB / 0.8326 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.2879, allocations: 11.94 kB / 0.8326 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.2883, allocations: 170.4 kB / 0.8327 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.2887, allocations: 0.6961 MB / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.2887, allocations: 8.422 kB / 0.8334 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.2888, allocations: 11.44 kB / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.2888, allocations: 0 / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.002929/0.2917, allocations: 496.3 kB / 0.8339 GB, free: 9.996 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)