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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001228/0.001228, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.588/1.588, allocations: 205.1 MB / 222 MB, free: 4.773 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.903/1.903, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001389/0.001389, allocations: 69.28 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2944, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00257/0.297, allocations: 0.9021 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.2972, allocations: 43.78 kB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.2972, allocations: 0 / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.214e-05/0.2973, allocations: 7.922 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.2974, allocations: 7.938 kB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.829e-05/0.2975, allocations: 19.98 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2976, allocations: 59.8 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.2978, allocations: 45.36 kB / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.2979, allocations: 27.81 kB / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.298, allocations: 23.84 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.298, allocations: 4 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.298, allocations: 7.938 kB / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.298, allocations: 27.86 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.2981, allocations: 31.75 kB / 0.7838 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.2982, allocations: 79.91 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2982, allocations: 3.984 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2982, allocations: 0 / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.2983, allocations: 0 / 0.7839 GB, free: 12.73 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.0004928/0.2988, allocations: 387.2 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2988, allocations: 8.031 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.2988, allocations: 20.75 kB / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.2991, allocations: 198.9 kB / 0.7845 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2992, allocations: 4.375 kB / 0.7845 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.2992, allocations: 16.31 kB / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.2993, allocations: 84.89 kB / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2994, allocations: 192 / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2994, allocations: 7.938 kB / 0.7846 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2995, allocations: 4 kB / 0.7846 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.2996, allocations: 39.92 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.3001, allocations: 449.6 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/0.3002, allocations: 53.23 kB / 0.7851 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.3002, allocations: 17.72 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.3002, allocations: 4 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.3003, allocations: 30.56 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3003, allocations: 0 / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001913/0.3005, allocations: 61.48 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.3005, allocations: 77.11 kB / 0.7853 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3007, allocations: 175.6 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.3007, allocations: 25.7 kB / 0.7855 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.3008, allocations: 111.9 kB / 0.7856 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.688e-06/0.3008, allocations: 7.906 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.3009, allocations: 17.72 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.301, allocations: 318.8 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.301, allocations: 8 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.3011, allocations: 25.66 kB / 0.786 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.698e-05/0.3011, allocations: 29.7 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3011, allocations: 0 / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.775e-05/0.3012, allocations: 61.55 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3012, allocations: 4 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3013, allocations: 3.938 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3013, allocations: 4 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.3014, allocations: 15.98 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3014, allocations: 0 / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.3014, allocations: 7.906 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.3014, allocations: 0 / 0.7861 GB, free: 10.23 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 8.848e-05/0.3015, allocations: 114.5 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.3016, allocations: 7.906 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.3016, allocations: 16.5 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3016, allocations: 4.078 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3016, allocations: 0 / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3016, allocations: 11.98 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.3021, allocations: 474.7 kB / 0.7867 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3021, allocations: 0 / 0.7867 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.3021, allocations: 4 kB / 0.7867 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3021, allocations: 0 / 0.7867 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.3021, allocations: 7.938 kB / 0.7867 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3021, allocations: 7.922 kB / 0.7867 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3021, allocations: 4 kB / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.562e-05/0.3022, allocations: 81.91 kB / 0.7868 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.3023, allocations: 96.91 kB / 0.7869 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3023, allocations: 4 kB / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.364e-05/0.3023, allocations: 0 / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.3024, allocations: 0 / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.3024, allocations: 0 / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.043e-05/0.3025, allocations: 128 kB / 0.787 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3025, allocations: 0 / 0.787 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001825/0.3027, allocations: 12 kB / 0.787 GB, free: 9.168 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.0001358/0.3028, allocations: 103.2 kB / 0.7871 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.444e-05/0.3029, allocations: 16 kB / 0.7872 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3029, allocations: 0 / 0.7872 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.3029, allocations: 4.188 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.3031, allocations: 16 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.3034, allocations: 192.2 kB / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.3038, allocations: 0.7004 MB / 0.788 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.3039, allocations: 8.438 kB / 0.788 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.3039, allocations: 7.438 kB / 0.7881 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.3039, allocations: 7.938 kB / 0.7881 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of Templates: time 0.00227/0.3062, allocations: 471.1 kB / 0.7885 GB, free: 7.598 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)