Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008404/0.0008403, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006872/0.006872, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.83/1.83, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.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.816/1.816, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.000587/0.0005872, allocations: 13.88 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3288, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00165/0.3305, allocations: 0.5632 MB / 0.7884 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.3307, allocations: 47.72 kB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.3307, allocations: 4 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.3308, allocations: 7.922 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.3309, allocations: 3.938 kB / 0.7885 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.245e-05/0.331, allocations: 19.98 kB / 0.7885 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.3311, allocations: 67.78 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.3313, allocations: 33.39 kB / 0.7886 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.3314, allocations: 15.88 kB / 0.7886 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.3315, allocations: 27.8 kB / 0.7886 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.3315, allocations: 4 kB / 0.7886 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.3315, allocations: 0 / 0.7886 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.3316, allocations: 19.86 kB / 0.7887 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.096e-05/0.3316, allocations: 53.44 kB / 0.7887 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.3318, allocations: 75.91 kB / 0.7888 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3318, allocations: 0 / 0.7888 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3318, allocations: 0 / 0.7888 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3318, allocations: 0 / 0.7888 GB, free: 10.63 MB / 0.6075 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.0005425/0.3324, allocations: 379.2 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3324, allocations: 8.031 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.3325, allocations: 12.84 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.3327, allocations: 196.2 kB / 0.7894 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3327, allocations: 8.359 kB / 0.7894 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.3328, allocations: 12.31 kB / 0.7894 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.333, allocations: 94.52 kB / 0.7895 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3331, allocations: 192 / 0.7895 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.3331, allocations: 15.94 kB / 0.7895 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3331, allocations: 4 kB / 0.7895 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/0.3332, allocations: 39.92 kB / 0.7895 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.334, allocations: 436.6 kB / 0.7899 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.3342, allocations: 54.31 kB / 0.79 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.3343, allocations: 17.66 kB / 0.79 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3343, allocations: 4.062 kB / 0.79 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.3344, allocations: 34.55 kB / 0.79 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/0.3344, allocations: 0 / 0.79 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003277/0.3347, allocations: 61.48 kB / 0.7901 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.3348, allocations: 81.11 kB / 0.7902 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.3351, allocations: 171.3 kB / 0.7903 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3351, allocations: 25.7 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.3353, allocations: 104 kB / 0.7905 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3353, allocations: 15.83 kB / 0.7905 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.3354, allocations: 9.719 kB / 0.7905 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002326/0.3356, allocations: 323.1 kB / 0.7908 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.267e-05/0.3357, allocations: 12 kB / 0.7908 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.494e-05/0.3357, allocations: 21.66 kB / 0.7908 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.3358, allocations: 21.72 kB / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.3358, allocations: 0 / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000151/0.336, allocations: 65.53 kB / 0.7909 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.336, allocations: 8 kB / 0.7909 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3361, allocations: 8 kB / 0.7909 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3361, allocations: 0 / 0.7909 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3362, allocations: 4 kB / 0.7909 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3362, allocations: 4 kB / 0.7909 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.3363, allocations: 3.906 kB / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3363, allocations: 0 / 0.7909 GB, free: 8.156 MB / 0.6075 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 0.0001561/0.3365, allocations: 118.5 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.3366, allocations: 7.906 kB / 0.7911 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.3366, allocations: 16.5 kB / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.3366, allocations: 8 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3366, allocations: 0 / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3367, allocations: 0 / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/0.3373, allocations: 490.7 kB / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3373, allocations: 0 / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.3374, allocations: 4 kB / 0.7916 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3374, allocations: 0 / 0.7916 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3374, allocations: 4.062 kB / 0.7916 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3374, allocations: 7.875 kB / 0.7916 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3374, allocations: 0 / 0.7916 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.3376, allocations: 85.73 kB / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.3378, allocations: 93 kB / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.3378, allocations: 0 / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.3378, allocations: 0 / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.3379, allocations: 4.031 kB / 0.7917 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.3379, allocations: 4 kB / 0.7918 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002535/0.3381, allocations: 124 kB / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3381, allocations: 0 / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003083/0.3385, allocations: 8 kB / 0.7919 GB, free: 7.09 MB / 0.6075 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.0001722/0.3386, allocations: 106 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.3388, allocations: 20.05 kB / 0.792 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3388, allocations: 4.062 kB / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.3388, allocations: 8 kB / 0.792 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.3391, allocations: 15.88 kB / 0.792 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.3396, allocations: 192.3 kB / 0.7922 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.34, allocations: 0.6926 MB / 0.7929 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.503e-05/0.3401, allocations: 12.5 kB / 0.7929 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.3401, allocations: 11.44 kB / 0.7929 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.3401, allocations: 0 / 0.7929 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of Templates: time 0.003887/0.344, allocations: 456.5 kB / 0.7933 GB, free: 5.527 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) Environment - environmentSimulation: