Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.392/2.392, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 177.5 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.511/2.511, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009403/0.0009399, allocations: 88.11 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006409/0.0006412, allocations: 11.88 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2186, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.4419, allocations: 131.3 MB / 1.028 GB, free: 14.07 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.4422, allocations: 67.97 kB / 1.028 GB, free: 14.01 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.002281/0.4445, allocations: 0.6607 MB / 1.028 GB, free: 13.34 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4446, allocations: 0 / 1.028 GB, free: 13.34 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4446, allocations: 0 / 1.028 GB, free: 13.34 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005087/0.4451, allocations: 341 kB / 1.029 GB, free: 12.96 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4452, allocations: 12.03 kB / 1.029 GB, free: 12.95 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.4452, allocations: 12.78 kB / 1.029 GB, free: 12.94 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.4454, allocations: 168.4 kB / 1.029 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.4454, allocations: 4.375 kB / 1.029 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.4454, allocations: 384 / 1.029 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.4456, allocations: 42.25 kB / 1.029 GB, free: 12.68 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4456, allocations: 192 / 1.029 GB, free: 12.68 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.4456, allocations: 3.938 kB / 1.029 GB, free: 12.68 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4456, allocations: 0 / 1.029 GB, free: 12.68 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.611e-05/0.4457, allocations: 12 kB / 1.029 GB, free: 12.67 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.4461, allocations: 256.9 kB / 1.029 GB, free: 12.37 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.4467, allocations: 98.44 kB / 1.029 GB, free: 12.26 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.4468, allocations: 12.92 kB / 1.029 GB, free: 12.25 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.4468, allocations: 7.938 kB / 1.029 GB, free: 12.24 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.447, allocations: 51.5 kB / 1.029 GB, free: 12.18 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=4): time 5.862e-06/0.447, allocations: 0 / 1.029 GB, free: 12.18 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4): time 0.0002346/0.4472, allocations: 61.62 kB / 1.029 GB, free: 12.11 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.4473, allocations: 59.39 kB / 1.029 GB, free: 12.04 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.4474, allocations: 113.8 kB / 1.03 GB, free: 11.92 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.4475, allocations: 29.69 kB / 1.03 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.4475, allocations: 88.08 kB / 1.03 GB, free: 11.79 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.4476, allocations: 7.906 kB / 1.03 GB, free: 11.79 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.4476, allocations: 0 / 1.03 GB, free: 11.79 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4477, allocations: 314.8 kB / 1.03 GB, free: 11.47 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/0.4478, allocations: 8 kB / 1.03 GB, free: 11.46 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.824e-05/0.4478, allocations: 25.7 kB / 1.03 GB, free: 11.43 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.506e-05/0.4479, allocations: 16.11 kB / 1.03 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4479, allocations: 3.938 kB / 1.03 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001261/0.448, allocations: 53.69 kB / 1.03 GB, free: 11.35 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4481, allocations: 4 kB / 1.03 GB, free: 11.35 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4481, allocations: 0 / 1.03 GB, free: 11.35 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4481, allocations: 0 / 1.03 GB, free: 11.35 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.884e-05/0.4481, allocations: 7.938 kB / 1.03 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4482, allocations: 4.031 kB / 1.03 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.413e-05/0.4483, allocations: 16.36 kB / 1.03 GB, free: 11.32 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.4483, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001003/0.4484, allocations: 113.8 kB / 1.03 GB, free: 11.2 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.4484, allocations: 7.906 kB / 1.03 GB, free: 11.19 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.4485, allocations: 11.91 kB / 1.03 GB, free: 11.17 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4485, allocations: 0 / 1.03 GB, free: 11.17 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4485, allocations: 0 / 1.03 GB, free: 11.17 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4485, allocations: 7.984 kB / 1.03 GB, free: 11.16 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.4487, allocations: 165.6 kB / 1.03 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4487, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.4488, allocations: 3.984 kB / 1.03 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4488, allocations: 4 kB / 1.03 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.4488, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4488, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4488, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.449, allocations: 85 kB / 1.031 GB, free: 10.84 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.4491, allocations: 85.02 kB / 1.031 GB, free: 10.74 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4491, allocations: 3.938 kB / 1.031 GB, free: 10.74 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.4492, allocations: 11.92 kB / 1.031 GB, free: 10.73 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.4492, allocations: 4 kB / 1.031 GB, free: 10.72 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.559e-06/0.4493, allocations: 3.984 kB / 1.031 GB, free: 10.72 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 5.674e-05/0.4493, allocations: 83.28 kB / 1.031 GB, free: 10.64 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4493, allocations: 0 / 1.031 GB, free: 10.64 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002281/0.4496, allocations: 8 kB / 1.031 GB, free: 10.63 MB / 0.6824 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,booToInt.y,booPul.y,booPul.pulseStart) * 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.000136/0.4497, allocations: 103.2 kB / 1.031 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.4499, allocations: 27.92 kB / 1.031 GB, free: 10.49 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4499, allocations: 0 / 1.031 GB, free: 10.49 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 5.494e-05/0.45, allocations: 12 kB / 1.031 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.4502, allocations: 11.92 kB / 1.031 GB, free: 10.47 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.4506, allocations: 140.2 kB / 1.031 GB, free: 10.3 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4509, allocations: 0.6809 MB / 1.032 GB, free: 9.594 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.451, allocations: 0 / 1.032 GB, free: 9.594 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.451, allocations: 11.44 kB / 1.032 GB, free: 9.582 MB / 0.6824 GB Notification: Performance of SimCode: time 7.82e-07/0.451, allocations: 0 / 1.032 GB, free: 9.582 MB / 0.6824 GB Notification: Performance of Templates: time 0.003232/0.4542, allocations: 472.7 kB / 1.032 GB, free: 9.125 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)