Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, 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.002225/0.002225, 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.117/3.117, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.61 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.4995, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002899/0.5025, allocations: 0.8863 MB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001708/0.5027, allocations: 39.78 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.5028, allocations: 0 / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.215e-05/0.5028, allocations: 7.938 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.503, allocations: 15.92 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.282e-05/0.5031, allocations: 12 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.5032, allocations: 55.84 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.5034, allocations: 39.97 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.5034, allocations: 27.86 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.742e-05/0.5035, allocations: 23.8 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.5035, allocations: 4 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.5035, allocations: 4 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.5036, allocations: 19.92 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.5036, allocations: 31.73 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.5038, allocations: 64.05 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5038, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5038, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.5038, allocations: 4 kB / 1.069 GB, free: 9.668 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.0005454/0.5043, allocations: 379.2 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.5044, allocations: 12.03 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.5044, allocations: 8.844 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.5047, allocations: 196.1 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.5048, allocations: 8.375 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.5048, allocations: 12.36 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.505, allocations: 91.95 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.505, allocations: 4.125 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.505, allocations: 7.938 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.505, allocations: 4 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.414e-05/0.5051, allocations: 39.92 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.5058, allocations: 436.5 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.042e-05/0.5059, allocations: 41.34 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/0.5059, allocations: 17.78 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.5059, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.506, allocations: 34.56 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.506, allocations: 4 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002273/0.5062, allocations: 57.47 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.5063, allocations: 81.11 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.5065, allocations: 164.8 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.5065, allocations: 25.7 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.5066, allocations: 111.9 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.5066, allocations: 7.906 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.5067, allocations: 21.97 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.5068, allocations: 318.8 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.5068, allocations: 4 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.5069, allocations: 17.72 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.5069, allocations: 21.72 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5069, allocations: 0 / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.849e-05/0.5071, allocations: 69.53 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5071, allocations: 4 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5071, allocations: 3.938 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.5071, allocations: 4 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.5072, allocations: 4 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5072, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/0.5072, allocations: 11.84 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.5073, allocations: 0 / 1.071 GB, free: 7.227 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.000104/0.5074, allocations: 121.9 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.5074, allocations: 11.84 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.5075, allocations: 15.81 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5075, allocations: 0 / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5075, allocations: 4 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5075, allocations: 3.938 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.5079, allocations: 466.8 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5079, allocations: 64 / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.508, allocations: 11.98 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.508, allocations: 0 / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.508, allocations: 0 / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.508, allocations: 4 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.508, allocations: 0 / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9e-05/0.5081, allocations: 77.84 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.5082, allocations: 93.03 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.5082, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.5082, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.5082, allocations: 7.938 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.5082, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.065e-05/0.5083, allocations: 123.2 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5083, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002032/0.5085, allocations: 11.91 kB / 1.072 GB, free: 6.176 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.0001661/0.5087, allocations: 103.2 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.5088, allocations: 12 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5088, allocations: 7.938 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-05/0.5088, allocations: 7.938 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.509, allocations: 7.938 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.5094, allocations: 184.8 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.5098, allocations: 0.6926 MB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.5098, allocations: 8.422 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.5099, allocations: 15.44 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.5099, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of Templates: time 0.003196/0.5131, allocations: 435 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)