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.0009282/0.0009282, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001105/0.001105, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.682/1.682, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005016/0.0005016, allocations: 14.88 kB / 0.6735 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2713, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001083/0.2725, allocations: 0.5441 MB / 0.7876 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.2726, allocations: 47.78 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.2727, allocations: 0 / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.2727, allocations: 11.92 kB / 0.7877 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.486e-05/0.2728, allocations: 11.94 kB / 0.7877 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.241e-05/0.2729, allocations: 15.98 kB / 0.7877 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.508e-05/0.273, allocations: 35.95 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.2731, allocations: 37.5 kB / 0.7878 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.264e-05/0.2732, allocations: 11.94 kB / 0.7878 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.2732, allocations: 23.8 kB / 0.7878 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.2733, allocations: 7.938 kB / 0.7878 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.2733, allocations: 0 / 0.7878 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.2733, allocations: 19.91 kB / 0.7879 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.2733, allocations: 37.64 kB / 0.7879 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.281e-05/0.2734, allocations: 56.09 kB / 0.7879 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2734, allocations: 0 / 0.7879 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2734, allocations: 0 / 0.7879 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2734, allocations: 0 / 0.7879 GB, free: 11.08 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.0004157/0.2739, allocations: 375 kB / 0.7883 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2739, allocations: 12.03 kB / 0.7883 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.274, allocations: 7.906 kB / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.2742, allocations: 198.8 kB / 0.7885 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2742, allocations: 8 kB / 0.7885 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.2742, allocations: 4 kB / 0.7885 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.2744, allocations: 95.33 kB / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2744, allocations: 0 / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.2744, allocations: 7.984 kB / 0.7886 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2744, allocations: 4 kB / 0.7886 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.2745, allocations: 39.92 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.2751, allocations: 441.8 kB / 0.7891 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.296e-05/0.2752, allocations: 45.14 kB / 0.7891 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.2752, allocations: 4.109 kB / 0.7891 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2752, allocations: 34.56 kB / 0.7892 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2752, allocations: 0 / 0.7892 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001843/0.2754, allocations: 61.55 kB / 0.7892 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.2755, allocations: 77.11 kB / 0.7893 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2756, allocations: 171.3 kB / 0.7895 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2756, allocations: 29.64 kB / 0.7895 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.2757, allocations: 111.9 kB / 0.7896 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-06/0.2757, allocations: 0 / 0.7896 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.2757, allocations: 4 kB / 0.7896 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2759, allocations: 323.1 kB / 0.7899 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.2759, allocations: 8 kB / 0.7899 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.2759, allocations: 17.72 kB / 0.7899 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.276, allocations: 12 kB / 0.7899 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.276, allocations: 7.875 kB / 0.79 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.515e-05/0.2761, allocations: 65.45 kB / 0.79 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2761, allocations: 8 kB / 0.79 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2761, allocations: 0 / 0.79 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2761, allocations: 8.062 kB / 0.79 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.2762, allocations: 4 kB / 0.79 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2762, allocations: 7.938 kB / 0.79 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.2762, allocations: 0 / 0.79 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.2763, allocations: 4 kB / 0.79 GB, free: 8.684 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.568e-05/0.2764, allocations: 117.8 kB / 0.7902 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.2764, allocations: 11.86 kB / 0.7902 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.2764, allocations: 12.56 kB / 0.7902 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2764, allocations: 0 / 0.7902 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2764, allocations: 4 kB / 0.7902 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2765, allocations: 0 / 0.7902 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.2769, allocations: 486.7 kB / 0.7907 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2769, allocations: 0 / 0.7907 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.2769, allocations: 4 kB / 0.7907 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2769, allocations: 0 / 0.7907 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2769, allocations: 0 / 0.7907 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2769, allocations: 4.062 kB / 0.7907 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2769, allocations: 4 kB / 0.7907 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.277, allocations: 99.5 kB / 0.7908 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.2771, allocations: 96.94 kB / 0.7908 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2771, allocations: 0 / 0.7908 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.607e-05/0.2772, allocations: 4.031 kB / 0.7909 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.2772, allocations: 4 kB / 0.7909 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.2772, allocations: 0 / 0.7909 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.313e-05/0.2773, allocations: 124 kB / 0.791 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2773, allocations: 0 / 0.791 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001856/0.2775, allocations: 8 kB / 0.791 GB, free: 7.605 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 (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.0001237/0.2776, allocations: 99.25 kB / 0.7911 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.2777, allocations: 23.98 kB / 0.7911 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2777, allocations: 4 kB / 0.7911 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.2777, allocations: 7.938 kB / 0.7911 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.2779, allocations: 7.953 kB / 0.7911 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.2782, allocations: 198.1 kB / 0.7913 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.2785, allocations: 0.6965 MB / 0.792 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.2785, allocations: 8.438 kB / 0.792 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.2786, allocations: 7.438 kB / 0.792 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2786, allocations: 4 kB / 0.792 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of Templates: time 0.002351/0.2809, allocations: 451.9 kB / 0.7924 GB, free: 6.051 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: