Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.897/1.897, allocations: 292.3 MB / 308.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001244, allocations: 197.4 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001378/0.001378, allocations: 101.1 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3716, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002723/0.3744, allocations: 0.9061 MB / 0.9831 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001762/0.3746, allocations: 43.78 kB / 0.9831 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.559e-05/0.3747, allocations: 4 kB / 0.9832 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.505e-05/0.3747, allocations: 3.938 kB / 0.9832 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.3749, allocations: 7.922 kB / 0.9832 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.306e-05/0.375, allocations: 20 kB / 0.9832 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3751, allocations: 63.78 kB / 0.9832 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.3753, allocations: 37.38 kB / 0.9833 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.891e-05/0.3754, allocations: 27.88 kB / 0.9833 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.3754, allocations: 35.77 kB / 0.9833 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.3755, allocations: 4 kB / 0.9833 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.3755, allocations: 4 kB / 0.9833 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.3755, allocations: 19.92 kB / 0.9834 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.826e-05/0.3756, allocations: 27.75 kB / 0.9834 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3757, allocations: 83.91 kB / 0.9835 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3757, allocations: 0 / 0.9835 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.437e-06/0.3758, allocations: 0 / 0.9835 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3758, allocations: 3.938 kB / 0.9835 GB, free: 9.098 MB / 0.7136 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.0006159/0.3764, allocations: 399.1 kB / 0.9839 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.3765, allocations: 8.031 kB / 0.9839 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.3765, allocations: 12.84 kB / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.3768, allocations: 190.5 kB / 0.9841 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3768, allocations: 8.375 kB / 0.9841 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.3769, allocations: 4.375 kB / 0.9841 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.3771, allocations: 99.8 kB / 0.9842 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3771, allocations: 4.188 kB / 0.9842 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3771, allocations: 11.94 kB / 0.9842 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3772, allocations: 7.938 kB / 0.9842 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.3773, allocations: 35.98 kB / 0.9842 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.378, allocations: 440.6 kB / 0.9846 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.564e-05/0.3781, allocations: 37.16 kB / 0.9847 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.3781, allocations: 25.86 kB / 0.9847 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.3782, allocations: 3.984 kB / 0.9847 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3782, allocations: 34.56 kB / 0.9847 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.3782, allocations: 4 kB / 0.9847 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002387/0.3785, allocations: 65.39 kB / 0.9848 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.3785, allocations: 77.11 kB / 0.9849 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.3787, allocations: 171.3 kB / 0.985 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3787, allocations: 25.7 kB / 0.9851 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/0.3788, allocations: 108 kB / 0.9852 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.3789, allocations: 7.891 kB / 0.9852 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.3789, allocations: 17.97 kB / 0.9852 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3791, allocations: 326.8 kB / 0.9855 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.3791, allocations: 4 kB / 0.9855 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.3791, allocations: 17.72 kB / 0.9855 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/0.3792, allocations: 37.64 kB / 0.9856 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3792, allocations: 0 / 0.9856 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/0.3793, allocations: 61.61 kB / 0.9856 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3793, allocations: 7.938 kB / 0.9856 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.3794, allocations: 3.938 kB / 0.9856 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3794, allocations: 3.938 kB / 0.9856 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.3795, allocations: 8 kB / 0.9856 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3795, allocations: 3.984 kB / 0.9856 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.3795, allocations: 3.906 kB / 0.9857 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3795, allocations: 4 kB / 0.9857 GB, free: 6.598 MB / 0.7136 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.0001017/0.3796, allocations: 117.8 kB / 0.9858 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.3797, allocations: 11.97 kB / 0.9858 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.3797, allocations: 16.5 kB / 0.9858 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.3797, allocations: 0 / 0.9858 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3797, allocations: 0 / 0.9858 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3798, allocations: 3.984 kB / 0.9858 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.3802, allocations: 478.7 kB / 0.9863 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3802, allocations: 0 / 0.9863 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.3803, allocations: 8.062 kB / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3803, allocations: 0 / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3803, allocations: 0 / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3803, allocations: 4 kB / 0.9863 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3803, allocations: 11.91 kB / 0.9863 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.3807, allocations: 0.6441 MB / 0.9869 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.3808, allocations: 89 kB / 0.987 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.3808, allocations: 4 kB / 0.987 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3e-05/0.3809, allocations: 8 kB / 0.987 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.3809, allocations: 7.875 kB / 0.987 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.3809, allocations: 0 / 0.987 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001052/0.381, allocations: 127.9 kB / 0.9871 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.381, allocations: 0 / 0.9871 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002797/0.3813, allocations: 8 kB / 0.9871 GB, free: 4.926 MB / 0.7136 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.0001618/0.3815, allocations: 103.2 kB / 0.9872 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.3816, allocations: 16 kB / 0.9873 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3816, allocations: 0 / 0.9873 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.487e-05/0.3816, allocations: 7.938 kB / 0.9873 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.3818, allocations: 14.52 kB / 0.9873 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.3823, allocations: 306.8 kB / 0.9876 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.3826, allocations: 0.6965 MB / 0.9882 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.3826, allocations: 12.42 kB / 0.9883 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.3827, allocations: 11.44 kB / 0.9883 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.3827, allocations: 0 / 0.9883 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of Templates: time 0.002725/0.3854, allocations: 476.6 kB / 0.9887 GB, free: 3.227 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)