Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001753/0.001753, allocations: 189.9 kB / 16.25 MB, free: 6.621 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.981/2.981, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.34 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3999, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002524/0.4025, allocations: 0.8824 MB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001233/0.4026, allocations: 43.78 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.4027, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.066e-05/0.4028, allocations: 3.938 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.4029, allocations: 3.984 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.94e-05/0.4029, allocations: 20 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.403, allocations: 63.78 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.4032, allocations: 39.91 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.344e-05/0.4033, allocations: 31.86 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.4034, allocations: 31.84 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.4034, allocations: 4 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.4034, allocations: 8 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.4034, allocations: 15.92 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.651e-05/0.4035, allocations: 39.69 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.4036, allocations: 68.03 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4036, allocations: 4 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4036, allocations: 0 / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.4037, allocations: 0 / 1.069 GB, free: 9.535 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.000483/0.4042, allocations: 383.2 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4042, allocations: 8.031 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.4042, allocations: 12.84 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.4045, allocations: 188.2 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4045, allocations: 4.375 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.4045, allocations: 12.31 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.4047, allocations: 95.89 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4047, allocations: 4.188 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4047, allocations: 3.938 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4047, allocations: 0 / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.4048, allocations: 39.92 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.4054, allocations: 436.6 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.578e-05/0.4055, allocations: 49.31 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.4055, allocations: 13.72 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-06/0.4055, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.4055, allocations: 34.56 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.4055, allocations: 8 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.4057, allocations: 57.47 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.4058, allocations: 77.11 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.4059, allocations: 164.9 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.4059, allocations: 25.7 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.406, allocations: 104 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.406, allocations: 7.906 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.4061, allocations: 13.97 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4062, allocations: 326.8 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.4062, allocations: 4 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.4062, allocations: 17.72 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.4063, allocations: 25.66 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4063, allocations: 3.938 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.223e-05/0.4064, allocations: 69.53 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4064, allocations: 5.719 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4064, allocations: 7.922 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4064, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.4065, allocations: 8 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.4065, allocations: 3.984 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.4066, allocations: 15.84 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.4066, allocations: 0 / 1.071 GB, free: 7.09 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 8.252e-05/0.4067, allocations: 113.8 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.4067, allocations: 11.97 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.4067, allocations: 15.81 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4067, allocations: 3.938 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4067, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4068, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.4071, allocations: 474.7 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4072, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-05/0.4072, allocations: 8.062 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4072, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.4072, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4072, allocations: 4 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4072, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.726e-05/0.4073, allocations: 85.77 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.4074, allocations: 89.09 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.4074, allocations: 4.031 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.4074, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.4074, allocations: 4 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.4074, allocations: 7.984 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.994e-05/0.4075, allocations: 118.1 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4075, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001852/0.4077, allocations: 7.906 kB / 1.072 GB, free: 6.047 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.0001401/0.4079, allocations: 107.2 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.373e-05/0.408, allocations: 15.94 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.408, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.408, allocations: 4 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.4082, allocations: 11.94 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.4085, allocations: 191 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.4088, allocations: 0.6924 MB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.4089, allocations: 8.422 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.4089, allocations: 11.44 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.4089, allocations: 4 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of Templates: time 0.002654/0.4116, allocations: 448.5 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)