Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.0008386/0.0008384, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007613/0.007613, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.706/1.706, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.616/1.616, allocations: 252 MB / 0.5105 GB, free: 4.691 MB / 414.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.0005603/0.0005603, allocations: 16 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.6997, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001338/0.7012, allocations: 0.5769 MB / 0.7293 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001259/0.7013, allocations: 43.77 kB / 0.7293 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.7014, allocations: 4 kB / 0.7293 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.7014, allocations: 3.938 kB / 0.7293 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.7015, allocations: 7.922 kB / 0.7294 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.136e-05/0.7016, allocations: 19.98 kB / 0.7294 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.7017, allocations: 67.78 kB / 0.7294 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.7019, allocations: 33.39 kB / 0.7295 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.702, allocations: 15.86 kB / 0.7295 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.702, allocations: 31.8 kB / 0.7295 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.7021, allocations: 0 / 0.7295 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.7021, allocations: 4 kB / 0.7295 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.7021, allocations: 7.938 kB / 0.7295 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.7022, allocations: 61.38 kB / 0.7296 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.7023, allocations: 77.64 kB / 0.7297 GB, free: 10.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7023, allocations: 0 / 0.7297 GB, free: 10.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7024, allocations: 0 / 0.7297 GB, free: 10.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.7024, allocations: 4 kB / 0.7297 GB, free: 10.3 MB / 0.545 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.0005764/0.703, allocations: 378.6 kB / 0.73 GB, free: 9.887 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.703, allocations: 8.031 kB / 0.73 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.7031, allocations: 16.75 kB / 0.73 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.7034, allocations: 199.2 kB / 0.7302 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.7034, allocations: 8.375 kB / 0.7302 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.7034, allocations: 4.375 kB / 0.7302 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.7036, allocations: 95.89 kB / 0.7303 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.7036, allocations: 192 / 0.7303 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.7036, allocations: 11.94 kB / 0.7303 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.7037, allocations: 4 kB / 0.7304 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.973e-05/0.7038, allocations: 47.84 kB / 0.7304 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.7044, allocations: 436.6 kB / 0.7308 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.68e-05/0.7045, allocations: 45.23 kB / 0.7309 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.7045, allocations: 21.78 kB / 0.7309 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.7045, allocations: 0 / 0.7309 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.7046, allocations: 34.56 kB / 0.7309 GB, free: 8.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.7046, allocations: 0 / 0.7309 GB, free: 8.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002092/0.7048, allocations: 61.67 kB / 0.731 GB, free: 8.773 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.7049, allocations: 85.09 kB / 0.7311 GB, free: 8.672 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.7051, allocations: 168.8 kB / 0.7312 GB, free: 8.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.7051, allocations: 25.7 kB / 0.7312 GB, free: 8.465 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.738e-05/0.7052, allocations: 107.9 kB / 0.7313 GB, free: 8.355 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.036e-06/0.7052, allocations: 0 / 0.7313 GB, free: 8.355 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.7052, allocations: 13.72 kB / 0.7314 GB, free: 8.336 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.7055, allocations: 318.8 kB / 0.7317 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.7055, allocations: 12.06 kB / 0.7317 GB, free: 8.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.7055, allocations: 25.7 kB / 0.7317 GB, free: 7.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.184e-05/0.7056, allocations: 33.64 kB / 0.7317 GB, free: 7.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7056, allocations: 0 / 0.7317 GB, free: 7.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000104/0.7057, allocations: 61.45 kB / 0.7318 GB, free: 7.867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.7057, allocations: 7.938 kB / 0.7318 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.7057, allocations: 8 kB / 0.7318 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.7058, allocations: 4 kB / 0.7318 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.7059, allocations: 7.984 kB / 0.7318 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.7059, allocations: 0 / 0.7318 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.7059, allocations: 11.94 kB / 0.7318 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.7059, allocations: 0 / 0.7318 GB, free: 7.828 MB / 0.545 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.0001148/0.7061, allocations: 113.8 kB / 0.7319 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.7061, allocations: 7.906 kB / 0.7319 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.7062, allocations: 12.5 kB / 0.7319 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.7062, allocations: 7.984 kB / 0.732 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.7062, allocations: 0 / 0.732 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.7062, allocations: 4 kB / 0.732 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.7067, allocations: 478.7 kB / 0.7324 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7067, allocations: 0 / 0.7324 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.7067, allocations: 4 kB / 0.7324 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7067, allocations: 0 / 0.7324 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.7067, allocations: 4.062 kB / 0.7324 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.7068, allocations: 7.984 kB / 0.7324 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7068, allocations: 0 / 0.7324 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.993e-05/0.7069, allocations: 85.78 kB / 0.7325 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.7069, allocations: 85 kB / 0.7326 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.707, allocations: 7.938 kB / 0.7326 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/0.707, allocations: 0 / 0.7326 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.707, allocations: 8.031 kB / 0.7326 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.707, allocations: 0 / 0.7326 GB, free: 6.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.793e-05/0.7071, allocations: 128 kB / 0.7327 GB, free: 6.785 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7071, allocations: 0 / 0.7327 GB, free: 6.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001829/0.7073, allocations: 8 kB / 0.7327 GB, free: 6.777 MB / 0.545 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.0001462/0.7075, allocations: 99.23 kB / 0.7328 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.703e-05/0.7076, allocations: 19.94 kB / 0.7329 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7076, allocations: 4.125 kB / 0.7329 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.326e-05/0.7076, allocations: 8 kB / 0.7329 GB, free: 6.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.7078, allocations: 11.94 kB / 0.7329 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.7082, allocations: 211.9 kB / 0.7331 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.7085, allocations: 0.6965 MB / 0.7338 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.561e-05/0.7085, allocations: 4.438 kB / 0.7338 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.7086, allocations: 11.44 kB / 0.7338 GB, free: 5.652 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.7086, allocations: 0 / 0.7338 GB, free: 5.652 MB / 0.545 GB Notification: Performance of Templates: time 0.002673/0.7112, allocations: 458.7 kB / 0.7342 GB, free: 5.207 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) Environment - environmentSimulation: