Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009042/0.0009042, 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.007512/0.007512, allocations: 173.9 kB / 16.27 MB, free: 6.652 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.47/1.47, allocations: 223.3 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 18.14 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3738, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001215/0.3751, allocations: 0.5435 MB / 1.075 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00016/0.3753, allocations: 43.78 kB / 1.075 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.3754, allocations: 0 / 1.075 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.3754, allocations: 7.922 kB / 1.075 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3755, allocations: 0 / 1.075 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.025e-05/0.3756, allocations: 12 kB / 1.075 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3757, allocations: 63.78 kB / 1.075 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.3759, allocations: 43.95 kB / 1.075 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.376, allocations: 19.8 kB / 1.075 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.3761, allocations: 19.86 kB / 1.075 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.3761, allocations: 4 kB / 1.075 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-06/0.3761, allocations: 0 / 1.075 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.3761, allocations: 11.94 kB / 1.075 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.3762, allocations: 49.45 kB / 1.075 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.3763, allocations: 71.95 kB / 1.075 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3763, allocations: 4 kB / 1.075 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3763, allocations: 0 / 1.075 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.3763, allocations: 0 / 1.075 GB, free: 6.648 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.0004855/0.3768, allocations: 363.3 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3769, allocations: 8.031 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.3769, allocations: 12.84 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.3772, allocations: 192.2 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3772, allocations: 4.375 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.3772, allocations: 16.36 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.3774, allocations: 95.73 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3774, allocations: 4.188 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3774, allocations: 7.938 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3775, allocations: 0 / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.731e-05/0.3775, allocations: 39.92 kB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.3782, allocations: 436.7 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.067e-05/0.3783, allocations: 41.2 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.3783, allocations: 21.81 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.3783, allocations: 4 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.3783, allocations: 34.56 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3784, allocations: 0 / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001871/0.3785, allocations: 57.47 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.3786, allocations: 81.11 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.3788, allocations: 161.1 kB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.3788, allocations: 25.7 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.3788, allocations: 112.1 kB / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.3789, allocations: 11.89 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.3789, allocations: 9.719 kB / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.379, allocations: 314.8 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.379, allocations: 11.98 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.3791, allocations: 13.72 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.889e-05/0.3791, allocations: 37.66 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3791, allocations: 0 / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.556e-05/0.3792, allocations: 57.53 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3792, allocations: 7.938 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3793, allocations: 7.938 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3793, allocations: 0 / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.3793, allocations: 8 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3793, allocations: 0 / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.3794, allocations: 7.938 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.3794, allocations: 4.062 kB / 1.077 GB, free: 4.223 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.915e-05/0.3795, allocations: 113.8 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.3795, allocations: 11.89 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.3796, allocations: 15.81 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3796, allocations: 0 / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3796, allocations: 3.938 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3796, allocations: 4 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.38, allocations: 474.7 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.38, allocations: 4 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.38, allocations: 0 / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.38, allocations: 4 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.38, allocations: 0 / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3801, allocations: 3.984 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3801, allocations: 0 / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.692e-05/0.3802, allocations: 81.84 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.3802, allocations: 93 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.3802, allocations: 0 / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.221e-05/0.3803, allocations: 4 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.3803, allocations: 0 / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.3803, allocations: 0 / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.638e-05/0.3804, allocations: 119.2 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3804, allocations: 0 / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001923/0.3806, allocations: 12.03 kB / 1.078 GB, free: 3.18 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.0001267/0.3807, allocations: 95.25 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.3808, allocations: 23.92 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3808, allocations: 0 / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-05/0.3808, allocations: 8 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.381, allocations: 13.31 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.3814, allocations: 176.8 kB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.3817, allocations: 0.6926 MB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.3817, allocations: 12.52 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.3818, allocations: 15.38 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3818, allocations: 0 / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.002843/0.3846, allocations: 431.1 kB / 1.079 GB, free: 1.66 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)