Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001357/0.001358, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.671/1.671, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.894/1.894, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001376/0.001375, allocations: 65 kB / 0.671 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2547, allocations: 114.5 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001972/0.2567, allocations: 0.6831 MB / 0.7835 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2582, allocations: 1.115 MB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.2582, allocations: 4 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.2583, allocations: 0 / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.2584, allocations: 11.92 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.2588, allocations: 106.7 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.259, allocations: 87.89 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2591, allocations: 12 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.2592, allocations: 39.89 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.741e-05/0.2593, allocations: 23.97 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2593, allocations: 11.94 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.2594, allocations: 19.98 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.2594, allocations: 4 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.2595, allocations: 39.78 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.2596, allocations: 83.78 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2596, allocations: 0 / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2597, allocations: 4 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2597, allocations: 4 kB / 0.785 GB, free: 11.67 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005152/0.2602, allocations: 373.4 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2602, allocations: 16.02 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.2603, allocations: 8.844 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2604, allocations: 164.4 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2604, allocations: 4.375 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.2605, allocations: 8.375 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/0.2606, allocations: 42.25 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2606, allocations: 192 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2606, allocations: 7.938 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2606, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.785e-05/0.2607, allocations: 15.92 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.2611, allocations: 288.8 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.084e-05/0.2612, allocations: 30.52 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.2612, allocations: 16.91 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.2612, allocations: 4 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.2614, allocations: 63.33 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2614, allocations: 0 / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002001/0.2616, allocations: 65.59 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.2617, allocations: 63.34 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.2618, allocations: 105.8 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.2618, allocations: 25.7 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.2619, allocations: 92.14 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.2619, allocations: 7.891 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.262, allocations: 33.7 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2621, allocations: 318.8 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.2622, allocations: 31.97 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.2623, allocations: 54.48 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.2624, allocations: 88.27 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2624, allocations: 3.938 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002346/0.2626, allocations: 147.2 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.2627, allocations: 37.7 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2627, allocations: 0 / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2627, allocations: 4 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.2628, allocations: 3.938 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2628, allocations: 7.984 kB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.263, allocations: 31.97 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.2631, allocations: 4 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001293/0.2632, allocations: 118.4 kB / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.2632, allocations: 7.906 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.2632, allocations: 7.891 kB / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2632, allocations: 0 / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2633, allocations: 0 / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2633, allocations: 0 / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.2635, allocations: 173.6 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2635, allocations: 4.062 kB / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.2635, allocations: 4 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2635, allocations: 0 / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2635, allocations: 0 / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2635, allocations: 0 / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2635, allocations: 240 / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.2637, allocations: 92.98 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.2637, allocations: 85.09 kB / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2638, allocations: 0 / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.2638, allocations: 7.938 kB / 0.7876 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.2638, allocations: 4 kB / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.2638, allocations: 0 / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.2639, allocations: 87.66 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2639, allocations: 4 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001987/0.2641, allocations: 15.91 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001448/0.2642, allocations: 103.2 kB / 0.7878 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.2645, allocations: 131.3 kB / 0.7879 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2645, allocations: 0 / 0.7879 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.2645, allocations: 12 kB / 0.7879 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.2647, allocations: 15.86 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.2651, allocations: 142.1 kB / 0.7881 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.2654, allocations: 0.6807 MB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.2654, allocations: 0 / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.2654, allocations: 11.44 kB / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2654, allocations: 0 / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of Templates: time 0.004078/0.2695, allocations: 1.074 MB / 0.7898 GB, free: 6.344 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)