Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.622/2.622, allocations: 287.5 MB / 302.5 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 189.1 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001209/0.001208, allocations: 101.6 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004986, allocations: 19.7 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2186, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.249, allocations: 137.9 MB / 1.113 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/1.249, allocations: 77.06 kB / 1.113 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01243/1.262, allocations: 1.797 MB / 1.115 GB, free: 31.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.076e-06/1.262, allocations: 0 / 1.115 GB, free: 31.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.096e-05/1.262, allocations: 3.844 kB / 1.115 GB, free: 31.46 MB / 0.698 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.0006286/1.262, allocations: 378.5 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/1.263, allocations: 7.719 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.021e-05/1.263, allocations: 7.688 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/1.263, allocations: 166.3 kB / 1.115 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/1.263, allocations: 7.844 kB / 1.115 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/1.263, allocations: 3.844 kB / 1.115 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/1.263, allocations: 40.44 kB / 1.115 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.263, allocations: 0 / 1.115 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/1.263, allocations: 3.844 kB / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/1.263, allocations: 0 / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/1.263, allocations: 15 kB / 1.116 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/1.264, allocations: 287.8 kB / 1.116 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.776e-05/1.264, allocations: 32.5 kB / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/1.264, allocations: 0 / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/1.264, allocations: 71.39 kB / 1.116 GB, free: 30.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.756e-06/1.264, allocations: 0 / 1.116 GB, free: 30.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.000334/1.265, allocations: 63.2 kB / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/1.265, allocations: 54.64 kB / 1.116 GB, free: 30.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/1.265, allocations: 107.5 kB / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/1.265, allocations: 33.42 kB / 1.116 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.265, allocations: 83.98 kB / 1.116 GB, free: 30.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/1.265, allocations: 11.41 kB / 1.116 GB, free: 30.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/1.265, allocations: 0 / 1.116 GB, free: 30.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002225/1.265, allocations: 321.5 kB / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/1.266, allocations: 30 kB / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/1.266, allocations: 58.05 kB / 1.117 GB, free: 29.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/1.266, allocations: 59.84 kB / 1.117 GB, free: 29.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/1.266, allocations: 0 / 1.117 GB, free: 29.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005407/1.267, allocations: 152 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.828e-05/1.267, allocations: 34.53 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.267, allocations: 3.906 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.267, allocations: 0 / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/1.267, allocations: 7.75 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.267, allocations: 0 / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/1.267, allocations: 43.77 kB / 1.117 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/1.267, allocations: 6.875 kB / 1.117 GB, free: 29.68 MB / 0.698 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 0.0001556/1.268, allocations: 113.6 kB / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/1.268, allocations: 11.28 kB / 1.117 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/1.268, allocations: 8.141 kB / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.268, allocations: 0 / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.268, allocations: 7.922 kB / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/1.268, allocations: 3.047 kB / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/1.268, allocations: 171.4 kB / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.268, allocations: 0 / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/1.268, allocations: 3.844 kB / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/1.268, allocations: 0 / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.268, allocations: 0 / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.268, allocations: 0 / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.268, allocations: 0 / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/1.268, allocations: 89.42 kB / 1.117 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/1.268, allocations: 77.11 kB / 1.117 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/1.268, allocations: 2.438 kB / 1.117 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/1.268, allocations: 3.688 kB / 1.117 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/1.268, allocations: 3.844 kB / 1.117 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/1.269, allocations: 7.078 kB / 1.117 GB, free: 29.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.831e-05/1.269, allocations: 87.06 kB / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.92e-07/1.269, allocations: 4 kB / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000497/1.269, allocations: 25.58 kB / 1.118 GB, free: 29.1 MB / 0.698 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.0002279/1.269, allocations: 108.1 kB / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000419/1.27, allocations: 121.3 kB / 1.118 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.27, allocations: 0 / 1.118 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/1.27, allocations: 19.58 kB / 1.118 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/1.27, allocations: 18.64 kB / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/1.271, allocations: 132.3 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/1.271, allocations: 0.6828 MB / 1.119 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.616e-05/1.271, allocations: 3.844 kB / 1.119 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/1.271, allocations: 11.38 kB / 1.119 GB, free: 28.11 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/1.271, allocations: 0 / 1.119 GB, free: 28.11 MB / 0.698 GB Notification: Performance of Templates: time 0.005711/1.277, allocations: 0.9746 MB / 1.12 GB, free: 28.02 MB / 0.698 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)