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.001203/0.001203, allocations: 109.4 kB / 16.37 MB, free: 6.016 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.001093/0.001093, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.353/1.353, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.81/1.81, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001479/0.00148, allocations: 71.91 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2465, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002328/0.2489, allocations: 0.8528 MB / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.2491, allocations: 43.73 kB / 0.7857 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.2491, allocations: 4 kB / 0.7857 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.111e-05/0.2492, allocations: 7.875 kB / 0.7857 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.852e-05/0.2493, allocations: 15.84 kB / 0.7857 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.158e-05/0.2493, allocations: 19.98 kB / 0.7857 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2494, allocations: 67.77 kB / 0.7858 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.2496, allocations: 45.39 kB / 0.7858 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.331e-05/0.2497, allocations: 27.86 kB / 0.7859 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.2497, allocations: 27.8 kB / 0.7859 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.2498, allocations: 8 kB / 0.7859 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.2498, allocations: 12 kB / 0.7859 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.2498, allocations: 15.92 kB / 0.7859 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.2499, allocations: 39.73 kB / 0.786 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.25, allocations: 87.56 kB / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.25, allocations: 0 / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.945e-06/0.25, allocations: 0 / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.25, allocations: 0 / 0.786 GB, free: 1.941 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.0004663/0.2505, allocations: 383.2 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2505, allocations: 15.97 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.2506, allocations: 12.75 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.2508, allocations: 200.1 kB / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2508, allocations: 8.375 kB / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2508, allocations: 8.375 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.251, allocations: 91.94 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.251, allocations: 192 / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.251, allocations: 7.938 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2511, allocations: 4 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.2511, allocations: 43.92 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.2517, allocations: 444.5 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.375e-05/0.2518, allocations: 37.28 kB / 0.7872 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.2518, allocations: 21.84 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.2518, allocations: 0 / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.2518, allocations: 30.56 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.2519, allocations: 7.984 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001777/0.252, allocations: 61.47 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.2521, allocations: 81.11 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.2523, allocations: 169.7 kB / 0.7876 GB, free: 128 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.2523, allocations: 29.64 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.3842/0.6365, allocations: 108.3 kB / 0.7877 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.6366, allocations: 9.031 kB / 0.7877 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.6366, allocations: 15.73 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.6367, allocations: 320.6 kB / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.25e-05/0.6367, allocations: 8.406 kB / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-05/0.6368, allocations: 19 kB / 0.7881 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.722e-05/0.6368, allocations: 29.09 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6369, allocations: 5.781 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001188/0.637, allocations: 60.8 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.637, allocations: 5.75 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.637, allocations: 5.812 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.637, allocations: 0 / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.6371, allocations: 5.281 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.6371, allocations: 3.188 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.6372, allocations: 5.812 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.6372, allocations: 3 kB / 0.7882 GB, free: 48.2 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 6.172e-05/0.6373, allocations: 118.2 kB / 0.7883 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.6373, allocations: 11.72 kB / 0.7883 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.6374, allocations: 14.86 kB / 0.7883 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6374, allocations: 3.938 kB / 0.7883 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6374, allocations: 3.094 kB / 0.7883 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6374, allocations: 4.094 kB / 0.7883 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.6378, allocations: 475.6 kB / 0.7888 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6378, allocations: 0 / 0.7888 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.6378, allocations: 2.688 kB / 0.7888 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6378, allocations: 1.938 kB / 0.7888 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6378, allocations: 2.562 kB / 0.7888 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6378, allocations: 3 kB / 0.7888 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6378, allocations: 0 / 0.7888 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.897e-05/0.6379, allocations: 84.45 kB / 0.7889 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.6379, allocations: 97.55 kB / 0.789 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.638, allocations: 0 / 0.789 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.521e-05/0.638, allocations: 0 / 0.789 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.638, allocations: 7.156 kB / 0.789 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.638, allocations: 3.312 kB / 0.789 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.6381, allocations: 131.8 kB / 0.7891 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6381, allocations: 0 / 0.7891 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002183/0.6383, allocations: 8.844 kB / 0.7891 GB, free: 47.36 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 9.867e-05/0.6384, allocations: 99.19 kB / 0.7892 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.091e-05/0.6385, allocations: 23 kB / 0.7892 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6385, allocations: 2.688 kB / 0.7892 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.6386, allocations: 9.75 kB / 0.7893 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.6387, allocations: 10.62 kB / 0.7893 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.639, allocations: 196.5 kB / 0.7895 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.6391, allocations: 0.7005 MB / 0.7901 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.6392, allocations: 10.5 kB / 0.7901 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6392, allocations: 0 / 0.7901 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.002167/0.6413, allocations: 0.9281 MB / 0.7911 GB, free: 46.41 MB / 0.6544 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)