Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.001386/0.001386, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001331/0.001331, allocations: 193 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.979/2.979, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 66.12 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5042, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00272/0.507, allocations: 0.8902 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.5071, allocations: 39.78 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.5072, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.632e-05/0.5073, allocations: 7.922 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.746e-05/0.5074, allocations: 7.938 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.53e-05/0.5074, allocations: 15.98 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.5075, allocations: 51.86 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.5077, allocations: 47.95 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.605e-05/0.5078, allocations: 23.86 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.5079, allocations: 27.84 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.5079, allocations: 8 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.5079, allocations: 4 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.5079, allocations: 15.88 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.508, allocations: 31.73 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.5081, allocations: 64.05 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5081, allocations: 0 / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5081, allocations: 0 / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5081, allocations: 4 kB / 1.069 GB, free: 9.699 MB / 0.8262 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.0005217/0.5087, allocations: 383.2 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.5087, allocations: 16.03 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.5088, allocations: 8.844 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.509, allocations: 188.2 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.509, allocations: 8.312 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.509, allocations: 8.375 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.5092, allocations: 101.3 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.5092, allocations: 192 / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.5093, allocations: 3.938 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5093, allocations: 8 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.5094, allocations: 39.92 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.5101, allocations: 428.6 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.5102, allocations: 49.25 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.5102, allocations: 17.77 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.5102, allocations: 3.938 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5103, allocations: 38.56 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.522e-06/0.5103, allocations: 0 / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002033/0.5105, allocations: 53.7 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.5106, allocations: 81.14 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.5107, allocations: 164.9 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.5108, allocations: 25.7 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.5108, allocations: 104 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.5109, allocations: 11.89 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.5109, allocations: 21.7 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.511, allocations: 314.8 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.5111, allocations: 8 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.5111, allocations: 25.64 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.223e-05/0.5112, allocations: 21.72 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5112, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.958e-05/0.5113, allocations: 65.53 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5113, allocations: 4 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5113, allocations: 8 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5113, allocations: 4 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/0.5114, allocations: 4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5114, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.5114, allocations: 11.84 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.5114, allocations: 0 / 1.071 GB, free: 7.254 MB / 0.8262 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 0.000112/0.5116, allocations: 113.8 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.5116, allocations: 7.906 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.5116, allocations: 19.8 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.5117, allocations: 4 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5117, allocations: 3.938 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5117, allocations: 0 / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.5121, allocations: 470.8 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.5121, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.5121, allocations: 4 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5121, allocations: 0 / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.5121, allocations: 4 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5122, allocations: 8 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5122, allocations: 0 / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.802e-05/0.5123, allocations: 81.92 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.5123, allocations: 92.98 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.5123, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.5124, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.5124, allocations: 8.031 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.5124, allocations: 4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001079/0.5125, allocations: 123.2 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5125, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001895/0.5127, allocations: 11.91 kB / 1.072 GB, free: 6.199 MB / 0.8262 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.0001388/0.5129, allocations: 99.19 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.739e-05/0.513, allocations: 15.98 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.513, allocations: 8.125 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.513, allocations: 4 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.5132, allocations: 13.42 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.5135, allocations: 180.7 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.5139, allocations: 0.6965 MB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.514, allocations: 4.438 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.514, allocations: 11.44 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.514, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of Templates: time 0.002805/0.5168, allocations: 428.6 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)