Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00139/0.00139, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 59.55 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4051, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002185/0.4073, allocations: 0.8311 MB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.4074, allocations: 39.78 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.4075, allocations: 4 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.319e-05/0.4075, allocations: 7.875 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.494e-05/0.4076, allocations: 7.922 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.752e-05/0.4077, allocations: 19.98 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.4078, allocations: 59.8 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.408, allocations: 47.95 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.408, allocations: 23.88 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.4081, allocations: 35.77 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.4081, allocations: 8 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.4081, allocations: 4 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.4081, allocations: 15.94 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.4082, allocations: 39.73 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.4083, allocations: 68.05 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4083, allocations: 3.938 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4083, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.4083, allocations: 0 / 1.069 GB, free: 9.219 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.0004183/0.4088, allocations: 383.1 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4088, allocations: 8.031 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.4088, allocations: 8.844 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.409, allocations: 196.2 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4091, allocations: 8.375 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.4091, allocations: 4.375 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.4093, allocations: 93.77 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.4093, allocations: 4.125 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4093, allocations: 7.938 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4093, allocations: 0 / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.4094, allocations: 35.98 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.4099, allocations: 436.5 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.697e-05/0.41, allocations: 41.14 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.41, allocations: 29.88 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.41, allocations: 0 / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.4101, allocations: 30.56 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4101, allocations: 0 / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001599/0.4102, allocations: 57.48 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.4103, allocations: 81.34 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.4104, allocations: 165.1 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4104, allocations: 25.7 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.4105, allocations: 104 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/0.4105, allocations: 3.906 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.4106, allocations: 21.7 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4107, allocations: 318.8 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.4107, allocations: 3.984 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.4107, allocations: 29.7 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.4108, allocations: 29.66 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4108, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.169e-05/0.4109, allocations: 53.59 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4109, allocations: 11.94 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4109, allocations: 7.875 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4109, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.627e-05/0.411, allocations: 8.062 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.411, allocations: 4 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/0.411, allocations: 7.844 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.411, allocations: 4 kB / 1.071 GB, free: 6.781 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 9.457e-05/0.4111, allocations: 109.8 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.4112, allocations: 11.89 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.4112, allocations: 15.81 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4112, allocations: 0 / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4113, allocations: 4 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4113, allocations: 7.938 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.4117, allocations: 474.8 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4117, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.4117, allocations: 4 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4117, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.4117, allocations: 4 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4117, allocations: 3.984 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4117, allocations: 64 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.912e-05/0.4118, allocations: 85.78 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.4119, allocations: 89 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.4119, allocations: 4 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.4119, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.4119, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.4119, allocations: 4.031 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.801e-05/0.412, allocations: 121.5 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.412, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001901/0.4122, allocations: 11.91 kB / 1.072 GB, free: 5.734 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.000108/0.4123, allocations: 95.78 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.358e-05/0.4124, allocations: 23.92 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4124, allocations: 0 / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.4125, allocations: 12.12 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.4126, allocations: 11.94 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.4129, allocations: 158.7 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.4132, allocations: 0.6969 MB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.485e-05/0.4132, allocations: 4.438 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.4133, allocations: 11.44 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4133, allocations: 0 / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.002728/0.416, allocations: 464.5 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)