Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.To_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.00113/0.00113, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001119/0.001119, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.426/1.426, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.5495 GB, free: 17.54 MB / 462.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.001446/0.001446, allocations: 63.91 kB / 0.6722 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2551, allocations: 114.6 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002459/0.2576, allocations: 0.8559 MB / 0.7849 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001274/0.2577, allocations: 39.8 kB / 0.7849 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.2578, allocations: 0 / 0.7849 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.2578, allocations: 11.81 kB / 0.7849 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.2579, allocations: 15.86 kB / 0.7849 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.462e-05/0.258, allocations: 23.97 kB / 0.7849 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2581, allocations: 67.78 kB / 0.785 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.2583, allocations: 45.38 kB / 0.7851 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.264e-05/0.2584, allocations: 27.86 kB / 0.7851 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.2585, allocations: 31.8 kB / 0.7851 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.2585, allocations: 8 kB / 0.7851 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.2585, allocations: 4 kB / 0.7851 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.2585, allocations: 15.92 kB / 0.7851 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.2586, allocations: 39.73 kB / 0.7852 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.2587, allocations: 79.91 kB / 0.7853 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2587, allocations: 4 kB / 0.7853 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2587, allocations: 4 kB / 0.7853 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.319e-06/0.2587, allocations: 0 / 0.7853 GB, free: 2.656 MB / 0.6544 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.0004538/0.2592, allocations: 391.1 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2592, allocations: 8.031 kB / 0.7856 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.2593, allocations: 12.75 kB / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.2595, allocations: 192.2 kB / 0.7858 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2595, allocations: 8.375 kB / 0.7858 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.2595, allocations: 8.312 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2597, allocations: 103.9 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.2597, allocations: 192 / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2597, allocations: 7.938 kB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2597, allocations: 0 / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.2598, allocations: 39.92 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.2604, allocations: 444.6 kB / 0.7864 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.737e-05/0.2604, allocations: 45.19 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/0.2605, allocations: 17.78 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.2605, allocations: 0 / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2605, allocations: 34.56 kB / 0.7865 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.2605, allocations: 0 / 0.7865 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001861/0.2607, allocations: 61.47 kB / 0.7866 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.2608, allocations: 77.11 kB / 0.7866 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.2609, allocations: 169.5 kB / 0.7868 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.2609, allocations: 29.7 kB / 0.7868 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.261, allocations: 111.9 kB / 0.7869 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-06/0.261, allocations: 4.156 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.2611, allocations: 21.72 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2612, allocations: 322.8 kB / 0.7873 GB, free: 352 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.2612, allocations: 4 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.2613, allocations: 21.7 kB / 0.7873 GB, free: 320 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.036e-05/0.2613, allocations: 29.66 kB / 0.7873 GB, free: 284 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2613, allocations: 4 kB / 0.7873 GB, free: 280 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.513e-05/0.2614, allocations: 61.53 kB / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2614, allocations: 10.66 kB / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2614, allocations: 3.938 kB / 0.7874 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2615, allocations: 0 / 0.7874 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.2615, allocations: 4 kB / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2615, allocations: 0 / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.2616, allocations: 8 kB / 0.7874 GB, free: 188 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.2616, allocations: 0 / 0.7874 GB, free: 188 kB / 0.6544 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.1e-05/0.2617, allocations: 117.9 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.2617, allocations: 11.81 kB / 0.7875 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.2618, allocations: 20.48 kB / 0.7876 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2618, allocations: 8.031 kB / 0.7876 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2618, allocations: 0 / 0.7876 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.2618, allocations: 7.984 kB / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5119/0.7737, allocations: 476.1 kB / 0.788 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7738, allocations: 1.344 kB / 0.788 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.7738, allocations: 4.812 kB / 0.788 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.7738, allocations: 1.031 kB / 0.788 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.7739, allocations: 2.5 kB / 0.788 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.7739, allocations: 0 / 0.788 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.7739, allocations: 3 kB / 0.788 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.774, allocations: 85.92 kB / 0.7881 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.7741, allocations: 88.36 kB / 0.7882 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.7741, allocations: 6.531 kB / 0.7882 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-05/0.7741, allocations: 0 / 0.7882 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.7742, allocations: 4.031 kB / 0.7882 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.7742, allocations: 2.094 kB / 0.7882 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001042/0.7743, allocations: 124.8 kB / 0.7883 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7743, allocations: 0 / 0.7883 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002794/0.7746, allocations: 14.44 kB / 0.7884 GB, free: 47.86 MB / 0.6544 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.0001932/0.7748, allocations: 101.8 kB / 0.7885 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.7749, allocations: 19.84 kB / 0.7885 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7749, allocations: 1.219 kB / 0.7885 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.77e-05/0.7749, allocations: 13.38 kB / 0.7885 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.7752, allocations: 9.281 kB / 0.7885 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.7756, allocations: 196.6 kB / 0.7887 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.7757, allocations: 0.695 MB / 0.7894 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.7758, allocations: 12.72 kB / 0.7894 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.7758, allocations: 0 / 0.7894 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.002375/0.7782, allocations: 0.9229 MB / 0.7903 GB, free: 46.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)