Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001321/0.00132, allocations: 187.9 kB / 17.22 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.738/1.738, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.03/2.03, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.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.001689/0.00169, allocations: 67.91 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2772, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002465/0.2797, allocations: 0.84 MB / 0.7849 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001928/0.2799, allocations: 55.77 kB / 0.785 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.28, allocations: 0 / 0.785 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.28, allocations: 7.875 kB / 0.785 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.858e-05/0.2801, allocations: 11.81 kB / 0.785 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.388e-05/0.2802, allocations: 23.97 kB / 0.785 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2803, allocations: 71.83 kB / 0.7851 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.2805, allocations: 37.39 kB / 0.7851 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.2805, allocations: 31.8 kB / 0.7851 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.2806, allocations: 31.78 kB / 0.7852 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.2806, allocations: 8 kB / 0.7852 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.2807, allocations: 8 kB / 0.7852 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.2807, allocations: 15.88 kB / 0.7852 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.2807, allocations: 43.73 kB / 0.7852 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.2809, allocations: 87.84 kB / 0.7853 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2809, allocations: 0 / 0.7853 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.116e-06/0.2809, allocations: 0 / 0.7853 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.281, allocations: 3.938 kB / 0.7853 GB, free: 2.547 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.0004844/0.2814, allocations: 387.1 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2815, allocations: 12.03 kB / 0.7857 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.2815, allocations: 16.75 kB / 0.7857 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.2818, allocations: 200.2 kB / 0.7859 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2818, allocations: 4.375 kB / 0.7859 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.2818, allocations: 12.38 kB / 0.7859 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.282, allocations: 91.89 kB / 0.786 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.282, allocations: 192 / 0.786 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.282, allocations: 7.938 kB / 0.786 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.282, allocations: 0 / 0.786 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.2821, allocations: 39.92 kB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.2827, allocations: 444.6 kB / 0.7865 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.508e-05/0.2828, allocations: 41.19 kB / 0.7865 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.2828, allocations: 17.83 kB / 0.7865 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.2829, allocations: 0 / 0.7865 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.2829, allocations: 46.55 kB / 0.7866 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2829, allocations: 0 / 0.7866 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001772/0.2831, allocations: 57.48 kB / 0.7866 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.2831, allocations: 77.11 kB / 0.7867 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.2833, allocations: 169.5 kB / 0.7869 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.2833, allocations: 29.7 kB / 0.7869 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.2834, allocations: 112.1 kB / 0.787 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.2834, allocations: 11.89 kB / 0.787 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.2835, allocations: 13.72 kB / 0.787 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2836, allocations: 318.8 kB / 0.7873 GB, free: 240 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.2836, allocations: 8 kB / 0.7873 GB, free: 232 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.2837, allocations: 21.72 kB / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.2837, allocations: 29.66 kB / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2837, allocations: 0 / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.694e-05/0.2838, allocations: 65.53 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2838, allocations: 4 kB / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2839, allocations: 3.938 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2839, allocations: 0 / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.2839, allocations: 8 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.284, allocations: 7.875 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.284, allocations: 4 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.284, allocations: 12.05 kB / 0.7875 GB, free: 56 kB / 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 0.5042/0.7883, allocations: 109.6 kB / 0.7876 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.7884, allocations: 11.31 kB / 0.7876 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.47e-05/0.7885, allocations: 12.81 kB / 0.7876 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.7885, allocations: 0 / 0.7876 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.7885, allocations: 0 / 0.7876 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.7885, allocations: 0.8438 kB / 0.7876 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/0.7893, allocations: 486.2 kB / 0.7881 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7893, allocations: 1.219 kB / 0.7881 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.7893, allocations: 2.969 kB / 0.7881 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-06/0.7894, allocations: 2.344 kB / 0.7881 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.7894, allocations: 7.609 kB / 0.7881 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.7894, allocations: 0 / 0.7881 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.7894, allocations: 2.469 kB / 0.7881 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.7895, allocations: 84.06 kB / 0.7882 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.7896, allocations: 91.02 kB / 0.7883 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.7896, allocations: 1.5 kB / 0.7883 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.761e-05/0.7897, allocations: 2.594 kB / 0.7883 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.7897, allocations: 0.8438 kB / 0.7883 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.7897, allocations: 3.312 kB / 0.7883 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001199/0.7898, allocations: 131.5 kB / 0.7884 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7898, allocations: 0 / 0.7884 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002441/0.7901, allocations: 10.88 kB / 0.7884 GB, free: 47.35 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.0001686/0.7903, allocations: 104.8 kB / 0.7885 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.7904, allocations: 20.75 kB / 0.7885 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7904, allocations: 2.719 kB / 0.7885 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.7904, allocations: 6.625 kB / 0.7885 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.7907, allocations: 11.69 kB / 0.7885 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.791, allocations: 162.8 kB / 0.7887 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.7912, allocations: 0.6989 MB / 0.7894 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.43e-05/0.7913, allocations: 9.984 kB / 0.7894 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.7913, allocations: 13.72 kB / 0.7894 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7913, allocations: 0 / 0.7894 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.003232/0.7946, allocations: 484.5 kB / 0.7899 GB, free: 46.43 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)