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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001243/0.001243, allocations: 194.8 kB / 16.26 MB, free: 6.625 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.627/1.627, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001574/0.001574, allocations: 70.33 kB / 0.671 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3263, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002569/0.3289, allocations: 0.9099 MB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001541/0.3291, allocations: 39.8 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.3292, allocations: 4 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.3292, allocations: 7.922 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.3294, allocations: 11.92 kB / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.568e-05/0.3294, allocations: 19.98 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3295, allocations: 59.8 kB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.3297, allocations: 45.38 kB / 0.7839 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.723e-05/0.3298, allocations: 31.81 kB / 0.7839 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.3299, allocations: 27.84 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.3299, allocations: 8 kB / 0.784 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.3299, allocations: 4 kB / 0.784 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.33, allocations: 19.92 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.33, allocations: 39.69 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.3302, allocations: 87.89 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3302, allocations: 0 / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3302, allocations: 4 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.3302, allocations: 0 / 0.7841 GB, free: 12.57 MB / 0.6075 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.0005101/0.3307, allocations: 383.2 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3308, allocations: 12.03 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.3308, allocations: 12.75 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.3311, allocations: 199.3 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3311, allocations: 12.38 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.3311, allocations: 4.375 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3313, allocations: 91.89 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3314, allocations: 4.188 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.3314, allocations: 7.938 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3314, allocations: 0 / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.3315, allocations: 43.91 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/0.3323, allocations: 445.7 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.723e-05/0.3324, allocations: 49.17 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.3324, allocations: 17.78 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3324, allocations: 7.938 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3325, allocations: 30.56 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.3325, allocations: 0 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002622/0.3327, allocations: 61.48 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.3328, allocations: 81.09 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.333, allocations: 167.3 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.333, allocations: 29.95 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/0.3332, allocations: 115.9 kB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.3332, allocations: 3.906 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.3332, allocations: 17.72 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3334, allocations: 322.8 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.3334, allocations: 4 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.3334, allocations: 17.72 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.3335, allocations: 37.64 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3335, allocations: 0 / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.759e-05/0.3336, allocations: 61.55 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3336, allocations: 4 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3337, allocations: 7.938 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.3337, allocations: 0 / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.242e-05/0.3338, allocations: 7.984 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3338, allocations: 0 / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.3338, allocations: 7.969 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.3338, allocations: 4 kB / 0.7863 GB, free: 10.08 MB / 0.6075 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 9.993e-05/0.3339, allocations: 114.5 kB / 0.7864 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.334, allocations: 7.906 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.334, allocations: 20.58 kB / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3341, allocations: 3.984 kB / 0.7864 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3341, allocations: 4 kB / 0.7864 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3341, allocations: 0 / 0.7864 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.3346, allocations: 482.7 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3346, allocations: 0 / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.3346, allocations: 4 kB / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.3346, allocations: 7.984 kB / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3346, allocations: 3.938 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3346, allocations: 0 / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3346, allocations: 3.938 kB / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.3348, allocations: 85.91 kB / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/0.3348, allocations: 92.91 kB / 0.7871 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3349, allocations: 4 kB / 0.7871 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.3349, allocations: 0 / 0.7871 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.3349, allocations: 0 / 0.7871 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3349, allocations: 4 kB / 0.7871 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001073/0.3351, allocations: 123.9 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3351, allocations: 4.031 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001881/0.3353, allocations: 12 kB / 0.7872 GB, free: 9.008 MB / 0.6075 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.0002255/0.3355, allocations: 103.2 kB / 0.7873 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.3356, allocations: 19.94 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3356, allocations: 0 / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.3357, allocations: 4 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.3359, allocations: 11.94 kB / 0.7874 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.3363, allocations: 198.4 kB / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3367, allocations: 0.7002 MB / 0.7882 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.107e-05/0.3367, allocations: 4.438 kB / 0.7882 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.3367, allocations: 11.44 kB / 0.7883 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3367, allocations: 0 / 0.7883 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of Templates: time 0.003213/0.34, allocations: 490.9 kB / 0.7887 GB, free: 7.418 MB / 0.6075 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)