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.001232/0.001232, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001348/0.001348, allocations: 184 kB / 17.22 MB, free: 5.934 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.764/1.764, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.978/1.978, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001722/0.001722, allocations: 67.89 kB / 0.6722 GB, free: 6.473 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3149, allocations: 114.6 MB / 0.7841 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.003313/0.3183, allocations: 0.8415 MB / 0.7849 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002274/0.3186, allocations: 39.78 kB / 0.7849 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.3187, allocations: 0 / 0.7849 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.879e-05/0.3188, allocations: 11.86 kB / 0.785 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.3189, allocations: 19.88 kB / 0.785 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.534e-05/0.319, allocations: 15.98 kB / 0.785 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.3192, allocations: 71.77 kB / 0.7851 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.3194, allocations: 41.38 kB / 0.7851 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.3195, allocations: 27.86 kB / 0.7851 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.3196, allocations: 35.8 kB / 0.7852 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.3196, allocations: 4 kB / 0.7852 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.737e-05/0.3196, allocations: 11.94 kB / 0.7852 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.3197, allocations: 15.92 kB / 0.7852 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.3197, allocations: 35.73 kB / 0.7852 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.3199, allocations: 83.91 kB / 0.7853 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.312e-05/0.32, allocations: 7.938 kB / 0.7853 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.835e-06/0.32, allocations: 0 / 0.7853 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.32, allocations: 7.938 kB / 0.7853 GB, free: 2.527 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.0006026/0.3206, allocations: 387.1 kB / 0.7857 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.3207, allocations: 12.03 kB / 0.7857 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.3207, allocations: 12.75 kB / 0.7857 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.321, allocations: 194.8 kB / 0.7859 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.321, allocations: 8.375 kB / 0.7859 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.3211, allocations: 8.359 kB / 0.7859 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3213, allocations: 98.44 kB / 0.786 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3213, allocations: 4.125 kB / 0.786 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.3213, allocations: 11.94 kB / 0.786 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3213, allocations: 0 / 0.786 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.3214, allocations: 35.98 kB / 0.7861 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008444/0.3223, allocations: 448.6 kB / 0.7865 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.378e-05/0.3224, allocations: 41.22 kB / 0.7865 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.3224, allocations: 13.72 kB / 0.7865 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.3225, allocations: 4.062 kB / 0.7865 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3225, allocations: 34.5 kB / 0.7866 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.3225, allocations: 4 kB / 0.7866 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002599/0.3228, allocations: 57.53 kB / 0.7866 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.3229, allocations: 85.05 kB / 0.7867 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3231, allocations: 165.5 kB / 0.7869 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.3231, allocations: 25.7 kB / 0.7869 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3232, allocations: 111.9 kB / 0.787 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.407e-06/0.3232, allocations: 7.906 kB / 0.787 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.3233, allocations: 21.95 kB / 0.787 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3235, allocations: 318.8 kB / 0.7873 GB, free: 224 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.3235, allocations: 7.984 kB / 0.7873 GB, free: 216 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.3235, allocations: 21.72 kB / 0.7874 GB, free: 188 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.541e-05/0.3236, allocations: 25.72 kB / 0.7874 GB, free: 156 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.3236, allocations: 3.938 kB / 0.7874 GB, free: 152 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001035/0.3237, allocations: 61.59 kB / 0.7874 GB, free: 84 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3238, allocations: 4 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.3238, allocations: 3.938 kB / 0.7875 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.3238, allocations: 7.938 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.3239, allocations: 8 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3239, allocations: 3.938 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.3239, allocations: 4 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.3239, allocations: 0 / 0.7875 GB, free: 52 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 0.4426/0.7666, allocations: 111.4 kB / 0.7876 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.7666, allocations: 10 kB / 0.7876 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.7667, allocations: 17.81 kB / 0.7876 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7667, allocations: 1.781 kB / 0.7876 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7667, allocations: 3.969 kB / 0.7876 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.7667, allocations: 1.656 kB / 0.7876 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.7671, allocations: 483.4 kB / 0.7881 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7671, allocations: 0 / 0.7881 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.7672, allocations: 7.656 kB / 0.7881 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7672, allocations: 1.594 kB / 0.7881 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.7672, allocations: 4.438 kB / 0.7881 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7672, allocations: 5.75 kB / 0.7881 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7672, allocations: 0 / 0.7881 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.657e-05/0.7673, allocations: 74.25 kB / 0.7882 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.7673, allocations: 104.6 kB / 0.7883 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.7673, allocations: 0 / 0.7883 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.635e-05/0.7674, allocations: 0 / 0.7883 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.7674, allocations: 2.625 kB / 0.7883 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.7674, allocations: 2.5 kB / 0.7883 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.698e-05/0.7675, allocations: 129.6 kB / 0.7884 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7675, allocations: 1.938 kB / 0.7884 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002304/0.7677, allocations: 8.594 kB / 0.7884 GB, free: 47.52 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 8.908e-05/0.7678, allocations: 96.34 kB / 0.7885 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.826e-05/0.7679, allocations: 27.19 kB / 0.7885 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7679, allocations: 0.7812 kB / 0.7885 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.7679, allocations: 12.02 kB / 0.7885 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.7681, allocations: 12.53 kB / 0.7885 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.7684, allocations: 166.6 kB / 0.7887 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.7685, allocations: 0.6947 MB / 0.7894 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.047e-05/0.7685, allocations: 7.656 kB / 0.7894 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.7686, allocations: 12.84 kB / 0.7894 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.7686, allocations: 3.719 kB / 0.7894 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.002465/0.771, allocations: 480.9 kB / 0.7899 GB, free: 46.6 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)