Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001494, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 193.6 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 472.6 MB / 0.7448 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002539, allocations: 63.02 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4345, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002195/0.4368, allocations: 0.6749 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.4382, allocations: 1.104 MB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.4382, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.4383, allocations: 4 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/0.4384, allocations: 15.92 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.4389, allocations: 106.8 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.439, allocations: 91.83 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.4391, allocations: 15.98 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.4392, allocations: 27.98 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.4393, allocations: 31.89 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.4393, allocations: 8 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.4394, allocations: 19.98 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.4394, allocations: 15.86 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.4395, allocations: 27.92 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.4397, allocations: 87.72 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4397, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4397, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.4397, allocations: 8 kB / 1.07 GB, free: 8.59 MB / 0.8262 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.0004763/0.4402, allocations: 373.4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4402, allocations: 12.03 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.4403, allocations: 8.922 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.4404, allocations: 172.3 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4404, allocations: 4.375 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.4405, allocations: 8.375 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.4406, allocations: 38.25 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4406, allocations: 192 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.4406, allocations: 7.938 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4406, allocations: 0 / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.4407, allocations: 11.94 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.4411, allocations: 292.8 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.155e-05/0.4411, allocations: 30.52 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.4412, allocations: 12.92 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.4412, allocations: 4 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.4413, allocations: 63.33 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.4414, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000223/0.4416, allocations: 69.58 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.4416, allocations: 55.41 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4418, allocations: 109.8 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.4418, allocations: 25.7 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.4419, allocations: 92.14 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.4419, allocations: 3.906 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.442, allocations: 33.7 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.4421, allocations: 322.8 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.4422, allocations: 27.98 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.4423, allocations: 50.5 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.4424, allocations: 88.27 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.4424, allocations: 3.938 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002587/0.4427, allocations: 147.2 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.4428, allocations: 41.69 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4428, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4428, allocations: 4.062 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.4429, allocations: 7.938 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4429, allocations: 4 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.4431, allocations: 31.94 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.4432, allocations: 7.984 kB / 1.072 GB, free: 6.199 MB / 0.8262 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,booPul.y,$PRE.booPul.y,booToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.4433, allocations: 121.7 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.4433, allocations: 4 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.4433, allocations: 3.906 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4433, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.4433, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4434, allocations: 4 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.4435, allocations: 173.6 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4435, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/0.4435, allocations: 4 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4436, allocations: 240 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.4436, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4436, allocations: 3.984 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/0.4436, allocations: 0 / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.4437, allocations: 100.9 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.4438, allocations: 77.11 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.4438, allocations: 0 / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.796e-05/0.4438, allocations: 4 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.4439, allocations: 7.984 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.4439, allocations: 0 / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.512e-05/0.444, allocations: 79.67 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.444, allocations: 4 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000212/0.4442, allocations: 19.98 kB / 1.073 GB, free: 5.5 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001661/0.4444, allocations: 103.5 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.4446, allocations: 127.3 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4446, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.4447, allocations: 15.98 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.4449, allocations: 12.77 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.4453, allocations: 157.9 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.4456, allocations: 0.6807 MB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.4456, allocations: 0 / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.4456, allocations: 11.44 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4456, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of Templates: time 0.003682/0.4493, allocations: 1.065 MB / 1.075 GB, free: 3.273 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)