Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.747/1.747, allocations: 287.5 MB / 302.6 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000996/0.0009961, allocations: 186.7 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001127, allocations: 92.83 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005069, allocations: 16.36 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3344, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001077/0.3355, allocations: 0.5365 MB / 0.9792 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001571/0.3357, allocations: 43.8 kB / 0.9793 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.3358, allocations: 0 / 0.9793 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.3359, allocations: 7.922 kB / 0.9793 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.336, allocations: 7.922 kB / 0.9793 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.42e-05/0.336, allocations: 15.98 kB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3362, allocations: 63.78 kB / 0.9793 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.3363, allocations: 37.39 kB / 0.9794 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/0.3364, allocations: 19.88 kB / 0.9794 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.3365, allocations: 23.78 kB / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.3365, allocations: 0 / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.3365, allocations: 4 kB / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.3366, allocations: 11.94 kB / 0.9794 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.3366, allocations: 37.64 kB / 0.9795 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.685e-05/0.3367, allocations: 64.02 kB / 0.9795 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.3367, allocations: 4 kB / 0.9795 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3367, allocations: 0 / 0.9795 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.3367, allocations: 0 / 0.9795 GB, free: 27.3 MB / 0.6198 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.0004293/0.3372, allocations: 371.2 kB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.3372, allocations: 8.031 kB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.3373, allocations: 8.844 kB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.3375, allocations: 200.1 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.3376, allocations: 8.375 kB / 0.9801 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.3376, allocations: 8.375 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3378, allocations: 93.98 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3378, allocations: 4.188 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3378, allocations: 11.92 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3378, allocations: 0 / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.632e-05/0.3379, allocations: 35.98 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.3385, allocations: 456.5 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.05e-05/0.3386, allocations: 33.22 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.696e-05/0.3386, allocations: 21.78 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.3386, allocations: 0 / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.3386, allocations: 34.59 kB / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.3387, allocations: 0 / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002115/0.3389, allocations: 61.48 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.3389, allocations: 81.09 kB / 0.9809 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.3391, allocations: 168.5 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.3391, allocations: 25.7 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.3391, allocations: 108 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-06/0.3391, allocations: 7.906 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.3392, allocations: 4 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.85e-05/0.3392, allocations: 318.8 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.3392, allocations: 4 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.3393, allocations: 21.72 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.3393, allocations: 37.64 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3393, allocations: 0 / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.332e-05/0.3394, allocations: 53.61 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3394, allocations: 4 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3394, allocations: 11.81 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3395, allocations: 0 / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.3395, allocations: 11.98 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3396, allocations: 8 kB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.692e-05/0.3396, allocations: 11.91 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3396, allocations: 0 / 0.9817 GB, free: 24.86 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7e-05/0.3397, allocations: 113.8 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.3397, allocations: 7.906 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.3398, allocations: 16.5 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3398, allocations: 0 / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3398, allocations: 3.984 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3398, allocations: 0 / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.3401, allocations: 482.7 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3401, allocations: 96 / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.3402, allocations: 4 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3402, allocations: 3.984 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3402, allocations: 4 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3402, allocations: 3.984 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3402, allocations: 0 / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/0.3403, allocations: 89.75 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.3403, allocations: 89 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.3403, allocations: 8 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.3404, allocations: 0 / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.3404, allocations: 0 / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.3404, allocations: 0 / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.817e-05/0.3405, allocations: 136.9 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3405, allocations: 0 / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002161/0.3407, allocations: 8 kB / 0.9826 GB, free: 23.8 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.3408, allocations: 99.23 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.225e-05/0.3409, allocations: 23.94 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3409, allocations: 0 / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.341, allocations: 4 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.3411, allocations: 16.19 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.3415, allocations: 191.8 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.3416, allocations: 0.6965 MB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.3417, allocations: 12.42 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.3417, allocations: 7.438 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of SimCode: time 9.11e-07/0.3417, allocations: 4 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of Templates: time 0.002436/0.3441, allocations: 440.7 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)