Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001343/0.001343, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001295/0.001295, allocations: 188.4 kB / 16.25 MB, free: 6.629 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 72.47 kB / 0.9115 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3747, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002195/0.377, allocations: 0.8747 MB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001099/0.3771, allocations: 43.78 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.3772, allocations: 0 / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.3772, allocations: 11.92 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.185e-05/0.3773, allocations: 7.938 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.491e-05/0.3774, allocations: 11.98 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.194e-05/0.3775, allocations: 63.8 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3776, allocations: 43.95 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.3777, allocations: 31.81 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.818e-05/0.3778, allocations: 27.84 kB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3778, allocations: 4 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.3778, allocations: 8 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.3778, allocations: 11.94 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.3779, allocations: 39.72 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.378, allocations: 64.06 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.378, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.378, allocations: 4 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.378, allocations: 0 / 1.069 GB, free: 9.578 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.0004498/0.3785, allocations: 383.1 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3785, allocations: 12.03 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.3786, allocations: 8.844 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.3788, allocations: 192.1 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3788, allocations: 12.38 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3788, allocations: 12.31 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.379, allocations: 95.88 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.379, allocations: 4.188 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.379, allocations: 7.938 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.3791, allocations: 4 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.3791, allocations: 35.97 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.3797, allocations: 436.5 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.741e-05/0.3797, allocations: 41.22 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.3798, allocations: 21.77 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.3798, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.3798, allocations: 38.59 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3799, allocations: 0 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001652/0.38, allocations: 57.48 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3801, allocations: 77.11 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3802, allocations: 164.9 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.3802, allocations: 25.7 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.3803, allocations: 104 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.948e-06/0.3803, allocations: 11.91 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.3804, allocations: 13.72 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3805, allocations: 323.1 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.3805, allocations: 8 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.3805, allocations: 17.7 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.999e-05/0.3806, allocations: 33.59 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3806, allocations: 4 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.68e-05/0.3807, allocations: 53.59 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3807, allocations: 8.062 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3807, allocations: 3.938 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3807, allocations: 4 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.3808, allocations: 7.938 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3808, allocations: 0 / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.3809, allocations: 15.84 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.3809, allocations: 0 / 1.071 GB, free: 7.125 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 6.958e-05/0.3809, allocations: 109.8 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.381, allocations: 11.91 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.381, allocations: 19.8 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.381, allocations: 3.938 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.381, allocations: 0 / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.381, allocations: 0 / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.3814, allocations: 470.8 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3814, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.3815, allocations: 4 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3815, allocations: 4.062 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3815, allocations: 4 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3815, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3815, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.105e-05/0.3816, allocations: 81.77 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.3817, allocations: 93 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3817, allocations: 4 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.3817, allocations: 4.031 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.3817, allocations: 4 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.3817, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.069e-05/0.3818, allocations: 121.5 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3818, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001872/0.382, allocations: 11.91 kB / 1.072 GB, free: 6.082 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.0001209/0.3821, allocations: 99.25 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.734e-05/0.3822, allocations: 23.94 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3822, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.3823, allocations: 7.984 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.3824, allocations: 11.94 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.3828, allocations: 186.3 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.383, allocations: 0.6924 MB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.3831, allocations: 8.516 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.3831, allocations: 11.44 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3831, allocations: 7.875 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of Templates: time 0.002408/0.3855, allocations: 448.5 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)