Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009526/0.0009528, allocations: 173.2 kB / 326.5 MB, free: 2.73 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007403/0.0007402, allocations: 96.03 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003024, allocations: 8.625 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1745, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0008722/0.1755, allocations: 0.5884 MB / 0.8973 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001041/0.1756, allocations: 43.8 kB / 0.8974 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.1756, allocations: 0 / 0.8974 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.287e-05/0.1757, allocations: 3.938 kB / 0.8974 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.197e-05/0.1758, allocations: 15.84 kB / 0.8974 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.687e-05/0.1759, allocations: 12 kB / 0.8974 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.804e-05/0.1759, allocations: 59.84 kB / 0.8975 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1761, allocations: 49.59 kB / 0.8975 GB, free: 67.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.1761, allocations: 19.81 kB / 0.8975 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.1762, allocations: 27.8 kB / 0.8975 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1762, allocations: 4 kB / 0.8975 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-06/0.1762, allocations: 0 / 0.8975 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.1762, allocations: 15.92 kB / 0.8976 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.1763, allocations: 23.75 kB / 0.8976 GB, free: 67.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.724e-05/0.1763, allocations: 59.86 kB / 0.8976 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1764, allocations: 0 / 0.8976 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1764, allocations: 0 / 0.8976 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.1764, allocations: 0 / 0.8976 GB, free: 67.29 MB / 0.6042 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.0003076/0.1767, allocations: 379.2 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1767, allocations: 8.031 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.1768, allocations: 16.73 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1769, allocations: 197.1 kB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1769, allocations: 4.375 kB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.177, allocations: 8.375 kB / 0.8982 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1771, allocations: 95.94 kB / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1771, allocations: 192 / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1771, allocations: 3.938 kB / 0.8983 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1771, allocations: 8 kB / 0.8983 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.1772, allocations: 39.92 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.1776, allocations: 448.5 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.403e-05/0.1777, allocations: 46.03 kB / 0.8988 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.1777, allocations: 13.84 kB / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.1777, allocations: 0 / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.1778, allocations: 34.56 kB / 0.8989 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1778, allocations: 0 / 0.8989 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001558/0.1779, allocations: 65.66 kB / 0.8989 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.178, allocations: 89.05 kB / 0.899 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1781, allocations: 166.2 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.1781, allocations: 25.7 kB / 0.8992 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.1781, allocations: 111.9 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-06/0.1781, allocations: 0 / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.1782, allocations: 17.72 kB / 0.8993 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.1782, allocations: 322.8 kB / 0.8996 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.1782, allocations: 4 kB / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.1783, allocations: 29.7 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.1783, allocations: 29.72 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1783, allocations: 0 / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.208e-05/0.1784, allocations: 65.45 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1784, allocations: 4 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1784, allocations: 3.938 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1784, allocations: 12.05 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.1785, allocations: 4 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1785, allocations: 0 / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.1785, allocations: 7.938 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.1786, allocations: 0 / 0.8998 GB, free: 64.81 MB / 0.6042 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 5.156e-05/0.1786, allocations: 117.8 kB / 0.8999 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.1787, allocations: 7.906 kB / 0.8999 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.1787, allocations: 20.48 kB / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1787, allocations: 0 / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1787, allocations: 4 kB / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1787, allocations: 4 kB / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.179, allocations: 474.7 kB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.179, allocations: 4 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.179, allocations: 7.984 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.179, allocations: 0 / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.1791, allocations: 4 kB / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1791, allocations: 4.062 kB / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1791, allocations: 0 / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.816e-05/0.1791, allocations: 81.84 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.1792, allocations: 85 kB / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1792, allocations: 4 kB / 0.9006 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.582e-05/0.1792, allocations: 7.938 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.1793, allocations: 4.031 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1793, allocations: 0 / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.428e-05/0.1793, allocations: 128.9 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1793, allocations: 0 / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001803/0.1795, allocations: 8 kB / 0.9007 GB, free: 63.76 MB / 0.6042 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 9.573e-05/0.1796, allocations: 103.2 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.1798, allocations: 19.94 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1798, allocations: 4.125 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.1798, allocations: 7.938 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.18, allocations: 11.94 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.1802, allocations: 225.8 kB / 0.9011 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.1804, allocations: 0.6965 MB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.1804, allocations: 11.44 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.1804, allocations: 4 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.001743/0.1821, allocations: 0.9101 MB / 0.9027 GB, free: 61.7 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)