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.00113/0.00113, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00438/0.00438, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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 0.9845/0.9845, allocations: 177.1 MB / 204.6 MB, free: 5.48 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 1.879/1.879, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] 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.593e-06/1.593e-06, allocations: 0 / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.851e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002259/0.002288, allocations: 0.8194 MB / 0.776 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001609/0.002449, allocations: 43.72 kB / 0.776 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.00356, allocations: 4 kB / 0.776 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.861e-05/0.003608, allocations: 7.875 kB / 0.776 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.003709, allocations: 18.25 kB / 0.776 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.777e-05/0.003767, allocations: 19.98 kB / 0.7761 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003878, allocations: 61.14 kB / 0.7761 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.00399, allocations: 31.95 kB / 0.7761 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.004101, allocations: 46.53 kB / 0.7762 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.937e-05/0.004141, allocations: 15.91 kB / 0.7762 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.004161, allocations: 4 kB / 0.7762 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-06/0.004169, allocations: 4 kB / 0.7762 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.004191, allocations: 15.92 kB / 0.7762 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.004217, allocations: 19.94 kB / 0.7762 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.802e-05/0.004305, allocations: 39.77 kB / 0.7763 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004308, allocations: 0.6875 kB / 0.7763 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004309, allocations: 0 / 0.7763 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004313, allocations: 1.719 kB / 0.7763 GB, free: 4.309 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.0003195/0.004632, allocations: 288.5 kB / 0.7766 GB, free: 4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.004673, allocations: 17.28 kB / 0.7766 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.004705, allocations: 12.94 kB / 0.7766 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.004841, allocations: 130.5 kB / 0.7767 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.004854, allocations: 8.375 kB / 0.7767 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.004867, allocations: 8.359 kB / 0.7767 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.00497, allocations: 80.48 kB / 0.7768 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.004978, allocations: 3.469 kB / 0.7768 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.004987, allocations: 4.375 kB / 0.7768 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.004995, allocations: 4.375 kB / 0.7768 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.005028, allocations: 23.86 kB / 0.7768 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.005436, allocations: 0.5011 MB / 0.7773 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.811e-05/0.005504, allocations: 173.1 kB / 0.7775 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.005528, allocations: 80.14 kB / 0.7776 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.005548, allocations: 75.28 kB / 0.7776 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.005583, allocations: 112.6 kB / 0.7777 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.005584, allocations: 0 / 0.7777 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.787e-05/0.005642, allocations: 33.69 kB / 0.7778 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.005692, allocations: 130.7 kB / 0.7779 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.005792, allocations: 141.9 kB / 0.778 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.005801, allocations: 25.7 kB / 0.7781 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.005863, allocations: 131.7 kB / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.005865, allocations: 1.688 kB / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.0059, allocations: 29.69 kB / 0.7782 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.085e-05/0.005981, allocations: 314.8 kB / 0.7785 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.005993, allocations: 11.97 kB / 0.7785 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.00603, allocations: 56.72 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.402e-05/0.006094, allocations: 72.25 kB / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006097, allocations: 0 / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000107/0.006204, allocations: 71.36 kB / 0.7787 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.006217, allocations: 11.19 kB / 0.7787 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.006222, allocations: 0.9375 kB / 0.7787 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.006236, allocations: 4 kB / 0.7787 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.006289, allocations: 20.75 kB / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.006292, allocations: 0 / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.006332, allocations: 15.89 kB / 0.7788 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.006338, allocations: 5.438 kB / 0.7788 GB, free: 1.547 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.531e-05/0.006413, allocations: 193 kB / 0.779 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.006457, allocations: 108.9 kB / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.006497, allocations: 113.4 kB / 0.7792 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.493e-05/0.006542, allocations: 184.2 kB / 0.7793 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.292e-05/0.006585, allocations: 177.3 kB / 0.7795 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.151e-05/0.006627, allocations: 176.3 kB / 0.7797 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.006795, allocations: 338 kB / 0.78 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/0.006822, allocations: 101 kB / 0.7801 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.006859, allocations: 109.8 kB / 0.7802 GB, free: 16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.396e-05/0.006903, allocations: 184.2 kB / 0.7804 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.006947, allocations: 184.2 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.454e-05/0.006992, allocations: 181 kB / 0.7807 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.527e-05/0.007037, allocations: 176.4 kB / 0.7809 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.007138, allocations: 316.4 kB / 0.7812 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.007182, allocations: 117.8 kB / 0.7813 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.007239, allocations: 184.2 kB / 0.7815 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.0073, allocations: 101.3 kB / 0.7816 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.007351, allocations: 185.1 kB / 0.7818 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.00738, allocations: 105 kB / 0.7819 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.007413, allocations: 25.77 kB / 0.7819 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007413, allocations: 0 / 0.7819 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002065/0.00762, allocations: 12 kB / 0.7819 GB, free: 14.18 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.0001098/0.007729, allocations: 156.5 kB / 0.782 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.259e-05/0.007792, allocations: 30.38 kB / 0.7821 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.007796, allocations: 1.906 kB / 0.7821 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.007798, allocations: 4 kB / 0.7821 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.008027, allocations: 463.6 kB / 0.7825 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.008272, allocations: 230.8 kB / 0.7827 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.592e-05/0.008307, allocations: 59.34 kB / 0.7828 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.008344, allocations: 10.66 kB / 0.7828 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.008374, allocations: 51.38 kB / 0.7829 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.008374, allocations: 1.75 kB / 0.7829 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of Templates: time 0.004221/0.0126, allocations: 338.3 kB / 0.7832 GB, free: 12.82 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: 4.9963115830905735]