Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 103.4 kB / 16.36 MB, free: 5.941 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.001157/0.001157, allocations: 196.5 kB / 17.3 MB, free: 5.562 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.476/1.476, allocations: 205.1 MB / 223.2 MB, free: 12.22 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 1.838/1.838, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001463/0.001463, allocations: 63.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2081, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001977/0.2101, allocations: 0.8559 MB / 0.7856 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.2103, allocations: 51.78 kB / 0.7857 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.2103, allocations: 0 / 0.7857 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.958e-05/0.2104, allocations: 7.875 kB / 0.7857 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.2104, allocations: 11.86 kB / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.3e-05/0.2105, allocations: 19.98 kB / 0.7857 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.895e-05/0.2106, allocations: 71.78 kB / 0.7858 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.2108, allocations: 45.36 kB / 0.7858 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.66e-05/0.2108, allocations: 23.88 kB / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.2109, allocations: 31.78 kB / 0.7859 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.2109, allocations: 8 kB / 0.7859 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.2109, allocations: 8 kB / 0.7859 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.211, allocations: 15.92 kB / 0.7859 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.211, allocations: 43.69 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.2111, allocations: 87.61 kB / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2111, allocations: 0 / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2111, allocations: 0 / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2111, allocations: 3.938 kB / 0.786 GB, free: 1.93 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.0003884/0.2115, allocations: 383.2 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2116, allocations: 8.031 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.2116, allocations: 16.75 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.2118, allocations: 196.1 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-06/0.2118, allocations: 8.375 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.2118, allocations: 12.38 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.212, allocations: 87.95 kB / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.212, allocations: 192 / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.212, allocations: 3.938 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.212, allocations: 4 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.696e-05/0.2121, allocations: 43.91 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.2127, allocations: 444.5 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.844e-05/0.2127, allocations: 45.27 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.2128, allocations: 17.78 kB / 0.7872 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.2128, allocations: 0 / 0.7872 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.2128, allocations: 38.56 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2128, allocations: 0 / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001714/0.213, allocations: 61.48 kB / 0.7873 GB, free: 404 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.213, allocations: 77.11 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2132, allocations: 173.4 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.2132, allocations: 25.7 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.372/0.5852, allocations: 108.5 kB / 0.7877 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.5853, allocations: 9.672 kB / 0.7877 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.5854, allocations: 15.31 kB / 0.7877 GB, free: 49.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.5855, allocations: 323.3 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.5855, allocations: 4.484 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.5856, allocations: 23.72 kB / 0.7881 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.5856, allocations: 25.34 kB / 0.7881 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5856, allocations: 0 / 0.7881 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001584/0.5858, allocations: 67.69 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.5858, allocations: 5.25 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.5859, allocations: 7.078 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.5859, allocations: 0 / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.586, allocations: 6.047 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.586, allocations: 6.406 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.5861, allocations: 3.234 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.5861, allocations: 3.219 kB / 0.7882 GB, free: 48.71 MB / 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 8.791e-05/0.5862, allocations: 115.8 kB / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.5863, allocations: 14.56 kB / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.5863, allocations: 12.05 kB / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5863, allocations: 0 / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.5863, allocations: 6.562 kB / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5863, allocations: 0.9375 kB / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.5868, allocations: 479.9 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5868, allocations: 2.844 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.5868, allocations: 9.188 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5868, allocations: 1.172 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.5868, allocations: 0 / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5869, allocations: 2.625 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5869, allocations: 3.562 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.689e-05/0.587, allocations: 81.78 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.587, allocations: 94.89 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.5871, allocations: 5.938 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.713e-05/0.5871, allocations: 0 / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.5871, allocations: 5.422 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.5871, allocations: 0.5625 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.306e-05/0.5872, allocations: 132.8 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5872, allocations: 0.5938 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002003/0.5874, allocations: 9.531 kB / 0.7891 GB, free: 47.88 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.0001069/0.5875, allocations: 100.8 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.574e-05/0.5877, allocations: 17.69 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5877, allocations: 0.6562 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.496e-05/0.5877, allocations: 8.438 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.5879, allocations: 16.62 kB / 0.7893 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.5882, allocations: 166.2 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.5883, allocations: 0.6948 MB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.453e-05/0.5884, allocations: 7.141 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.5884, allocations: 12.12 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of SimCode: time 1.914e-06/0.5884, allocations: 4.938 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.002874/0.5913, allocations: 486.9 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)