Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001141, allocations: 100.1 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.001299/0.001299, allocations: 177.3 kB / 15.95 MB, free: 216 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.452/1.452, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.654/1.654, 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.000698/0.0006981, allocations: 18.25 kB / 0.6735 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2652, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001045/0.2663, allocations: 0.5441 MB / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.2665, allocations: 39.8 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.2666, allocations: 0 / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.2666, allocations: 7.922 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.226e-05/0.2667, allocations: 15.92 kB / 0.7877 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.66e-05/0.2668, allocations: 15.98 kB / 0.7877 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2669, allocations: 31.97 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.267, allocations: 37.56 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.2671, allocations: 19.86 kB / 0.7878 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/0.2672, allocations: 19.8 kB / 0.7878 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.2672, allocations: 7.938 kB / 0.7878 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.2672, allocations: 0 / 0.7878 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.2672, allocations: 19.92 kB / 0.7879 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.2673, allocations: 37.64 kB / 0.7879 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.2674, allocations: 60.09 kB / 0.788 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.2674, allocations: 0 / 0.788 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2674, allocations: 0 / 0.788 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2674, allocations: 0 / 0.788 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.000646/0.2681, allocations: 371 kB / 0.7883 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.416e-05/0.2682, allocations: 12.03 kB / 0.7883 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.563e-05/0.2683, allocations: 7.906 kB / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.2687, allocations: 198.8 kB / 0.7885 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.2688, allocations: 8 kB / 0.7885 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.2688, allocations: 8 kB / 0.7885 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.269, allocations: 90.14 kB / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.269, allocations: 0 / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.2691, allocations: 4 kB / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.2691, allocations: 4 kB / 0.7886 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.2692, allocations: 39.92 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.2701, allocations: 448.6 kB / 0.7891 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.743e-05/0.2702, allocations: 41.14 kB / 0.7891 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.2703, allocations: 8.125 kB / 0.7891 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.2703, allocations: 34.56 kB / 0.7892 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.2703, allocations: 0 / 0.7892 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002749/0.2706, allocations: 57.53 kB / 0.7892 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.2707, allocations: 77.11 kB / 0.7893 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.2709, allocations: 171.3 kB / 0.7895 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.271, allocations: 29.89 kB / 0.7895 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.2711, allocations: 116.9 kB / 0.7896 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.996e-06/0.2711, allocations: 3.984 kB / 0.7896 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.2711, allocations: 4 kB / 0.7896 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.2713, allocations: 314.8 kB / 0.7899 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/0.2714, allocations: 11.98 kB / 0.7899 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.2714, allocations: 13.72 kB / 0.7899 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.2714, allocations: 12 kB / 0.7899 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2715, allocations: 7.938 kB / 0.79 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001481/0.2716, allocations: 69.39 kB / 0.79 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2716, allocations: 8 kB / 0.79 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2717, allocations: 0 / 0.79 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.2717, allocations: 0 / 0.79 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.2718, allocations: 8 kB / 0.79 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2718, allocations: 0 / 0.79 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.2718, allocations: 0 / 0.79 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.2718, allocations: 4 kB / 0.79 GB, free: 8.695 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 0.0001056/0.2719, allocations: 121.8 kB / 0.7902 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.272, allocations: 15.86 kB / 0.7902 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.2721, allocations: 16.55 kB / 0.7902 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2721, allocations: 0 / 0.7902 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2721, allocations: 0 / 0.7902 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2721, allocations: 0 / 0.7902 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.2726, allocations: 490.7 kB / 0.7907 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2726, allocations: 0 / 0.7907 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.2726, allocations: 4 kB / 0.7907 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2726, allocations: 0 / 0.7907 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.2726, allocations: 0 / 0.7907 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2727, allocations: 0 / 0.7907 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2727, allocations: 4 kB / 0.7907 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.2728, allocations: 99.72 kB / 0.7908 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.2729, allocations: 96.88 kB / 0.7908 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.2729, allocations: 0 / 0.7908 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.441e-05/0.2729, allocations: 0 / 0.7908 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.2729, allocations: 7.984 kB / 0.7909 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.273, allocations: 0 / 0.7909 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001018/0.2731, allocations: 124 kB / 0.791 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2731, allocations: 4 kB / 0.791 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002034/0.2733, allocations: 4.031 kB / 0.791 GB, free: 7.609 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.0001472/0.2734, allocations: 106.1 kB / 0.7911 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.957e-05/0.2735, allocations: 16 kB / 0.7911 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2736, allocations: 0 / 0.7911 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.438e-05/0.2736, allocations: 15.88 kB / 0.7911 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.2737, allocations: 11.94 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.0003712/0.2741, allocations: 194.2 kB / 0.7913 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2744, allocations: 0.7043 MB / 0.792 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.726e-05/0.2745, allocations: 8.422 kB / 0.792 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.2745, allocations: 11.44 kB / 0.792 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of SimCode: time 5.92e-07/0.2745, allocations: 0 / 0.792 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of Templates: time 0.002666/0.2772, allocations: 431.9 kB / 0.7924 GB, free: 6.066 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) Environment - environmentSimulation: