Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.782/2.782, allocations: 287.3 MB / 302.3 MB, free: 8.367 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.001539/0.001539, allocations: 177 kB / 370.8 MB, free: 10.85 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.376/2.376, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001175, allocations: 96.3 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004903, allocations: 12.28 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2277, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001112/0.2288, allocations: 0.5326 MB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001371/0.229, allocations: 47.77 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.2291, allocations: 4 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.2291, allocations: 7.875 kB / 0.9788 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.2292, allocations: 4 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.158e-05/0.2293, allocations: 15.98 kB / 0.9788 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.1e-05/0.2294, allocations: 43.88 kB / 0.9788 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2296, allocations: 33.58 kB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.2296, allocations: 23.86 kB / 0.9789 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.2297, allocations: 19.84 kB / 0.9789 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.2297, allocations: 4 kB / 0.9789 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.2297, allocations: 0 / 0.9789 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.2298, allocations: 19.88 kB / 0.9789 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.2298, allocations: 37.64 kB / 0.979 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.515e-05/0.2299, allocations: 60.08 kB / 0.979 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2299, allocations: 0 / 0.979 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2299, allocations: 4 kB / 0.979 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.23, allocations: 0 / 0.979 GB, free: 27.5 MB / 0.6198 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.0004/0.2304, allocations: 369.1 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2304, allocations: 12.02 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2305, allocations: 15.91 kB / 0.9794 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.2307, allocations: 198.8 kB / 0.9796 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2307, allocations: 4 kB / 0.9796 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.2307, allocations: 12 kB / 0.9796 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.2309, allocations: 89.41 kB / 0.9797 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.231, allocations: 3.938 kB / 0.9797 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.231, allocations: 4 kB / 0.9797 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.231, allocations: 4 kB / 0.9797 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.2311, allocations: 39.92 kB / 0.9797 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000833/0.232, allocations: 448.5 kB / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.987e-05/0.2321, allocations: 37.28 kB / 0.9802 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.2321, allocations: 4 kB / 0.9802 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.2321, allocations: 38.69 kB / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.357e-06/0.2322, allocations: 0 / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002975/0.2325, allocations: 53.53 kB / 0.9803 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.2325, allocations: 81.11 kB / 0.9804 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.2328, allocations: 164.5 kB / 0.9805 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2328, allocations: 33.7 kB / 0.9806 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.2329, allocations: 111.9 kB / 0.9807 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.2329, allocations: 4 kB / 0.9807 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.233, allocations: 0 / 0.9807 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.2331, allocations: 322.8 kB / 0.981 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.024e-05/0.2331, allocations: 7.938 kB / 0.981 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.931e-05/0.2332, allocations: 17.72 kB / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.32e-05/0.2333, allocations: 15.98 kB / 0.981 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2333, allocations: 0 / 0.981 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001847/0.2335, allocations: 69.41 kB / 0.9811 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.2335, allocations: 7.938 kB / 0.9811 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2335, allocations: 4 kB / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2336, allocations: 0 / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2337, allocations: 4 kB / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.2337, allocations: 3.984 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.2338, allocations: 4 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.2339, allocations: 4.062 kB / 0.9811 GB, free: 25.12 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.234, allocations: 113.8 kB / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.2341, allocations: 11.86 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.2341, allocations: 12.56 kB / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2342, allocations: 0 / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2342, allocations: 4 kB / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2342, allocations: 3.984 kB / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.2349, allocations: 486.7 kB / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2349, allocations: 0 / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.235, allocations: 0 / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.235, allocations: 4 kB / 0.9817 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.235, allocations: 0 / 0.9817 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.235, allocations: 3.938 kB / 0.9817 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.235, allocations: 3.984 kB / 0.9817 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.2352, allocations: 99.58 kB / 0.9818 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.2353, allocations: 96.94 kB / 0.9819 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.2353, allocations: 4 kB / 0.9819 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.2354, allocations: 0 / 0.9819 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.2355, allocations: 0 / 0.9819 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.2355, allocations: 4 kB / 0.9819 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001481/0.2357, allocations: 128.9 kB / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.52e-07/0.2357, allocations: 4.031 kB / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004425/0.2361, allocations: 8 kB / 0.9821 GB, free: 24.03 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.2363, allocations: 99.23 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.2364, allocations: 19.94 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2365, allocations: 0 / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.261e-05/0.2365, allocations: 8 kB / 0.9822 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.2367, allocations: 11.95 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.2373, allocations: 199.1 kB / 0.9824 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.2375, allocations: 0.7004 MB / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.589e-05/0.2376, allocations: 12.5 kB / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.2376, allocations: 11.44 kB / 0.9831 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.2376, allocations: 0 / 0.9831 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.004282/0.2419, allocations: 431.9 kB / 0.9835 GB, free: 22.5 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)