Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 84.86 kB / 21.62 MB, free: 2.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 174.3 kB / 25.05 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.1 MB / 205.5 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.024/2.024, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7761 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.387e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.005631/0.005655, allocations: 0.8523 MB / 0.777 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002229/0.005878, allocations: 48.59 kB / 0.777 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.005939, allocations: 4 kB / 0.777 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.425e-05/0.005993, allocations: 14.86 kB / 0.777 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.354e-05/0.006087, allocations: 5.797 kB / 0.7771 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 6.161e-05/0.006148, allocations: 19.97 kB / 0.7771 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.006272, allocations: 64.98 kB / 0.7771 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.006401, allocations: 32.72 kB / 0.7772 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.006517, allocations: 46.3 kB / 0.7772 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.006561, allocations: 15.92 kB / 0.7772 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.006578, allocations: 4 kB / 0.7772 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.006587, allocations: 4.625 kB / 0.7772 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.006611, allocations: 19.3 kB / 0.7772 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.006641, allocations: 19.92 kB / 0.7773 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.006745, allocations: 39.83 kB / 0.7773 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.006749, allocations: 0 / 0.7773 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.493e-06/0.00675, allocations: 0 / 0.7773 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.006754, allocations: 3.938 kB / 0.7773 GB, free: 4.105 MB / 0.7292 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.0003399/0.007094, allocations: 280.6 kB / 0.7776 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.007136, allocations: 13.34 kB / 0.7776 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.007171, allocations: 16.86 kB / 0.7776 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.007329, allocations: 137 kB / 0.7777 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.00734, allocations: 4.375 kB / 0.7777 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.007357, allocations: 8.375 kB / 0.7777 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.007479, allocations: 79.88 kB / 0.7778 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.007488, allocations: 192 / 0.7778 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.007497, allocations: 384 / 0.7778 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.007504, allocations: 4.375 kB / 0.7778 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.649e-05/0.00754, allocations: 19.92 kB / 0.7778 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.008059, allocations: 0.5101 MB / 0.7783 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.34e-05/0.008143, allocations: 177.1 kB / 0.7785 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.008173, allocations: 80.14 kB / 0.7786 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.008195, allocations: 76.19 kB / 0.7787 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.008241, allocations: 109.8 kB / 0.7788 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 5.341e-06/0.008246, allocations: 0.5938 kB / 0.7788 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7e-05/0.008316, allocations: 33.64 kB / 0.7788 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.008364, allocations: 127.3 kB / 0.7789 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.008467, allocations: 146.8 kB / 0.7791 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.008474, allocations: 25.7 kB / 0.7791 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.008536, allocations: 131.7 kB / 0.7792 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.008539, allocations: 4.531 kB / 0.7792 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.008573, allocations: 22.27 kB / 0.7792 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.008653, allocations: 322.8 kB / 0.7795 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.008661, allocations: 5.656 kB / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.008697, allocations: 58.88 kB / 0.7796 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.32e-05/0.00876, allocations: 70.17 kB / 0.7797 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008762, allocations: 0 / 0.7797 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001168/0.008879, allocations: 75.67 kB / 0.7797 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.008895, allocations: 10.5 kB / 0.7798 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.0089, allocations: 0 / 0.7798 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.00891, allocations: 4 kB / 0.7798 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.008963, allocations: 15.98 kB / 0.7798 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.008967, allocations: 8.688 kB / 0.7798 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.009, allocations: 11.89 kB / 0.7798 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.009007, allocations: 8.875 kB / 0.7798 GB, free: 1.344 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 7.347e-05/0.00908, allocations: 193.6 kB / 0.78 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.009124, allocations: 105 kB / 0.7801 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.00917, allocations: 117.5 kB / 0.7802 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.311e-05/0.009213, allocations: 180.3 kB / 0.7804 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.184e-05/0.009255, allocations: 181.3 kB / 0.7805 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.151e-05/0.009297, allocations: 180.3 kB / 0.7807 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.009454, allocations: 329.4 kB / 0.781 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.044e-05/0.009495, allocations: 110.4 kB / 0.7811 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.00952, allocations: 105 kB / 0.7812 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.235e-05/0.009563, allocations: 180.2 kB / 0.7814 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.009607, allocations: 184.3 kB / 0.7816 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.131e-05/0.009648, allocations: 181.3 kB / 0.7818 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001661/0.009815, allocations: 180.2 kB / 0.7819 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.69e-05/0.009911, allocations: 311.7 kB / 0.7822 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.009956, allocations: 122 kB / 0.7823 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.01, allocations: 180.2 kB / 0.7825 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-05/0.01006, allocations: 105.8 kB / 0.7826 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.01011, allocations: 180.3 kB / 0.7828 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.01013, allocations: 109.5 kB / 0.7829 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.01016, allocations: 25.77 kB / 0.7829 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01016, allocations: 0 / 0.7829 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001824/0.01035, allocations: 8 kB / 0.7829 GB, free: 13.98 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001165/0.01046, allocations: 156.8 kB / 0.7831 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.084e-05/0.01053, allocations: 26.95 kB / 0.7831 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.01054, allocations: 0 / 0.7831 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.01054, allocations: 4 kB / 0.7831 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.01076, allocations: 476.2 kB / 0.7836 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.01099, allocations: 224.8 kB / 0.7838 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.01103, allocations: 59.34 kB / 0.7838 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.055e-05/0.01108, allocations: 7.734 kB / 0.7838 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.01112, allocations: 51.38 kB / 0.7839 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of SimCode: time 1.011e-06/0.01112, allocations: 0 / 0.7839 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.005079/0.0162, allocations: 330.2 kB / 0.7842 GB, free: 12.62 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.106593760661781]