Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.053/3.053, allocations: 287.3 MB / 302.3 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001707/0.001707, allocations: 188 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.574/2.574, allocations: 205.4 MB / 0.6295 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001847/0.001847, allocations: 101.9 kB / 0.7428 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007894/0.0007891, allocations: 12.03 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2636, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0009039/0.2646, allocations: 340.2 kB / 0.9785 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.2662, allocations: 1.069 MB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.2662, allocations: 0 / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.2663, allocations: 0 / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/0.2664, allocations: 15.91 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.2669, allocations: 102.9 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.2671, allocations: 43.94 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.2671, allocations: 3.984 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.942e-05/0.2672, allocations: 35.86 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.996e-05/0.2673, allocations: 27.91 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.2674, allocations: 4 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.2674, allocations: 23.97 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.2675, allocations: 0 / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.2675, allocations: 37.64 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.2677, allocations: 51.88 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2677, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2677, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2677, allocations: 4 kB / 0.9799 GB, free: 26.6 MB / 0.6198 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.0004291/0.2681, allocations: 369.2 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.2682, allocations: 12.03 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.562e-05/0.2683, allocations: 4 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.739e-05/0.2684, allocations: 170.9 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.2685, allocations: 4 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.2685, allocations: 8 kB / 0.9804 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.2686, allocations: 33.69 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2686, allocations: 4 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2686, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2687, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.2687, allocations: 15.98 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.2691, allocations: 296.7 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.2692, allocations: 30.56 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.2693, allocations: 0 / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.2694, allocations: 63.44 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.2694, allocations: 4 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002338/0.2697, allocations: 69.62 kB / 0.9809 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2697, allocations: 51.41 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.2698, allocations: 113.8 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.2699, allocations: 29.7 kB / 0.9811 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.2699, allocations: 88.12 kB / 0.9812 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.2699, allocations: 3.906 kB / 0.9812 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.27, allocations: 8 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.27, allocations: 318.8 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.2702, allocations: 31.98 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2703, allocations: 46.86 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.2704, allocations: 61.64 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.2704, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004069/0.2709, allocations: 151.2 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.2709, allocations: 41.75 kB / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2709, allocations: 0 / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.271, allocations: 0 / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.2711, allocations: 7.938 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2711, allocations: 4.062 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.2715, allocations: 47.86 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.2715, allocations: 8 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booToInt.y,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.062e-05/0.2716, allocations: 115.9 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.2716, allocations: 4.062 kB / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.2717, allocations: 11.91 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2717, allocations: 0 / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2717, allocations: 3.984 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2717, allocations: 0 / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.2718, allocations: 165.6 kB / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2718, allocations: 0 / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.2719, allocations: 8 kB / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2719, allocations: 3.984 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2719, allocations: 7.938 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2719, allocations: 0 / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2719, allocations: 0 / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.2721, allocations: 81.08 kB / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.2721, allocations: 85.02 kB / 0.9824 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.2721, allocations: 3.984 kB / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.29e-05/0.2722, allocations: 4 kB / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.2722, allocations: 4 kB / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.2722, allocations: 0 / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.2723, allocations: 87.27 kB / 0.9825 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2723, allocations: 0 / 0.9825 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002863/0.2726, allocations: 20 kB / 0.9825 GB, free: 23.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,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 (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.0001724/0.2728, allocations: 103.2 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.2731, allocations: 127.3 kB / 0.9827 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2731, allocations: 0 / 0.9827 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.2732, allocations: 19.98 kB / 0.9827 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.2734, allocations: 11.89 kB / 0.9827 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.2737, allocations: 146.5 kB / 0.9829 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.2739, allocations: 0.6889 MB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.2739, allocations: 0 / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.274, allocations: 15.38 kB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.274, allocations: 0 / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.004333/0.2783, allocations: 0.9864 MB / 0.9845 GB, free: 21.46 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)