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 2.539/2.539, allocations: 287.5 MB / 303.2 MB, free: 8.191 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.001309/0.00131, allocations: 183.1 kB / 371.8 MB, free: 10.83 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.069/2.069, allocations: 205.4 MB / 0.6305 GB, free: 10.6 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.0009361/0.000936, allocations: 91.22 kB / 0.7438 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004746, allocations: 11.61 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9223/1.142, allocations: 137.9 MB / 1.114 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/1.142, allocations: 75.81 kB / 1.114 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008225/1.15, allocations: 1.811 MB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/1.15, allocations: 0 / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.616e-06/1.15, allocations: 3.938 kB / 1.116 GB, free: 31.41 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.0004515/1.151, allocations: 380.5 kB / 1.116 GB, free: 31.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/1.151, allocations: 7.781 kB / 1.116 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/1.151, allocations: 11.12 kB / 1.116 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/1.151, allocations: 172.2 kB / 1.116 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/1.151, allocations: 384 / 1.116 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/1.151, allocations: 11.48 kB / 1.116 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/1.151, allocations: 36.98 kB / 1.116 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/1.151, allocations: 192 / 1.116 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.151, allocations: 3.938 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.151, allocations: 0 / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/1.151, allocations: 11.56 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/1.152, allocations: 295 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/1.152, allocations: 30.05 kB / 1.117 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/1.152, allocations: 15.33 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-06/1.152, allocations: 3.844 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/1.152, allocations: 60.78 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/1.152, allocations: 4 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002512/1.152, allocations: 70.41 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/1.152, allocations: 51.41 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/1.153, allocations: 108.6 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/1.153, allocations: 29.64 kB / 1.117 GB, free: 30.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/1.153, allocations: 94.84 kB / 1.117 GB, free: 30.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/1.153, allocations: 3.906 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/1.153, allocations: 11.66 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.153, allocations: 314.8 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/1.153, allocations: 32.95 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/1.153, allocations: 50.02 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/1.153, allocations: 85.38 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.153, allocations: 3.938 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003664/1.154, allocations: 148.8 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/1.154, allocations: 40.25 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.154, allocations: 3.938 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.154, allocations: 0 / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.771e-05/1.154, allocations: 3.969 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/1.154, allocations: 0 / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/1.154, allocations: 40.41 kB / 1.118 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/1.154, allocations: 3.844 kB / 1.118 GB, free: 29.58 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.0001204/1.154, allocations: 128.6 kB / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/1.154, allocations: 7.781 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/1.154, allocations: 7.781 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.154, allocations: 0 / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.154, allocations: 3.875 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.154, allocations: 0 / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/1.155, allocations: 163.4 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.155, allocations: 6.828 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/1.155, allocations: 0 / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.155, allocations: 0 / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/1.155, allocations: 0 / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/1.155, allocations: 3.812 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.155, allocations: 0 / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/1.155, allocations: 85.33 kB / 1.118 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/1.155, allocations: 84.95 kB / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/1.155, allocations: 10.67 kB / 1.118 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/1.155, allocations: 0 / 1.118 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/1.155, allocations: 0 / 1.118 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/1.155, allocations: 3.906 kB / 1.118 GB, free: 29.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.073e-05/1.155, allocations: 89.84 kB / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.155, allocations: 0 / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000318/1.155, allocations: 23.56 kB / 1.118 GB, free: 29 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.0001679/1.156, allocations: 111.2 kB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003068/1.156, allocations: 129.6 kB / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.156, allocations: 0 / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/1.156, allocations: 16.66 kB / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/1.156, allocations: 9.938 kB / 1.119 GB, free: 28.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/1.157, allocations: 134.8 kB / 1.119 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/1.157, allocations: 0.6802 MB / 1.12 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.415e-05/1.157, allocations: 6.875 kB / 1.12 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/1.157, allocations: 11.25 kB / 1.12 GB, free: 28.01 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/1.157, allocations: 0 / 1.12 GB, free: 28.01 MB / 0.698 GB Notification: Performance of Templates: time 0.00415/1.161, allocations: 0.9967 MB / 1.121 GB, free: 27.91 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)