Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 289.7 MB / 302.3 MB, free: 2.215 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.001119/0.001119, allocations: 177.9 kB / 371.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.1 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009358/0.0009359, allocations: 89.17 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.268e-05/4.272e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2643, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.812/1.076, allocations: 139 MB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/1.077, allocations: 66.98 kB / 1.116 GB, free: 44.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004995/1.082, allocations: 1.794 MB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.565e-06/1.082, allocations: 0 / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.367e-05/1.082, allocations: 3.938 kB / 1.117 GB, free: 43.58 MB / 0.7448 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.0003647/1.082, allocations: 369 kB / 1.118 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.082, allocations: 8.031 kB / 1.118 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/1.082, allocations: 11.58 kB / 1.118 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/1.082, allocations: 165.4 kB / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/1.082, allocations: 4 kB / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/1.083, allocations: 11.27 kB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/1.083, allocations: 37.28 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.083, allocations: 0 / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.083, allocations: 0.9844 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.083, allocations: 4 kB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/1.083, allocations: 14.97 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/1.083, allocations: 291 kB / 1.118 GB, free: 42.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.353e-05/1.083, allocations: 33.61 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/1.083, allocations: 8.922 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/1.083, allocations: 0 / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/1.083, allocations: 62.38 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/1.083, allocations: 0 / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001881/1.084, allocations: 61.02 kB / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/1.084, allocations: 51.41 kB / 1.118 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/1.084, allocations: 107.7 kB / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/1.084, allocations: 29.64 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/1.084, allocations: 88.12 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/1.084, allocations: 7.344 kB / 1.119 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/1.084, allocations: 4 kB / 1.119 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.493e-05/1.084, allocations: 318.2 kB / 1.119 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-05/1.084, allocations: 31.44 kB / 1.119 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/1.084, allocations: 52.83 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.81e-05/1.084, allocations: 60.91 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.084, allocations: 0 / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002159/1.084, allocations: 144.2 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/1.084, allocations: 38.2 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.084, allocations: 0 / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/1.084, allocations: 4.938 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/1.085, allocations: 3.422 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.085, allocations: 8.062 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/1.085, allocations: 34.7 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/1.085, allocations: 8.609 kB / 1.119 GB, free: 41.53 MB / 0.7448 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 () * 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 6.303e-05/1.085, allocations: 114.4 kB / 1.119 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/1.085, allocations: 8 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/1.085, allocations: 7.531 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/1.085, allocations: 1.5 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.085, allocations: 1 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.085, allocations: 4.562 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.056e-05/1.085, allocations: 160 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.085, allocations: 3.938 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.027e-05/1.085, allocations: 7.375 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/1.085, allocations: 3.281 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/1.085, allocations: 0 / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.085, allocations: 4.688 kB / 1.12 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.085, allocations: 0 / 1.12 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.929e-05/1.085, allocations: 88.38 kB / 1.12 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/1.085, allocations: 80.48 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/1.085, allocations: 0 / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/1.085, allocations: 0.5 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/1.085, allocations: 5.125 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/1.085, allocations: 6.656 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.068e-05/1.085, allocations: 88.77 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.085, allocations: 0 / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002303/1.086, allocations: 23.5 kB / 1.12 GB, free: 40.89 MB / 0.7448 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 () * 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.0001617/1.086, allocations: 120.7 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001898/1.086, allocations: 119.7 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.086, allocations: 0 / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/1.086, allocations: 15.44 kB / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/1.086, allocations: 15.45 kB / 1.12 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/1.086, allocations: 70.61 kB / 1.12 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/1.087, allocations: 0.6835 MB / 1.121 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.38e-05/1.087, allocations: 4 kB / 1.121 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/1.087, allocations: 7.438 kB / 1.121 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of SimCode: time 8.41e-07/1.087, allocations: 4 kB / 1.121 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of Templates: time 0.003295/1.09, allocations: 0.9892 MB / 1.122 GB, free: 39.32 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)