Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.009485/0.009486, allocations: 170 kB / 16.27 MB, free: 6.652 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.575/1.575, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.07/3.07, allocations: 473.4 MB / 0.7469 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004601, allocations: 11.75 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4495, allocations: 162.2 MB / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0009333/0.4505, allocations: 344 kB / 1.074 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.4521, allocations: 1.112 MB / 1.076 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.4521, allocations: 4 kB / 1.076 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.4521, allocations: 0 / 1.076 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.4522, allocations: 7.922 kB / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.4527, allocations: 107.1 kB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.4528, allocations: 83.77 kB / 1.076 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.4529, allocations: 7.984 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.453, allocations: 31.97 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.783e-05/0.4531, allocations: 23.91 kB / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.4531, allocations: 4 kB / 1.076 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.887e-05/0.4532, allocations: 19.98 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.4532, allocations: 7.922 kB / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.4533, allocations: 53.62 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.4534, allocations: 83.77 kB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4535, allocations: 4 kB / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4535, allocations: 0 / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.4535, allocations: 0 / 1.076 GB, free: 5.703 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.0004476/0.4539, allocations: 361.4 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.454, allocations: 8.031 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.454, allocations: 4.938 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.4542, allocations: 172.2 kB / 1.076 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.4542, allocations: 4.375 kB / 1.077 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.4542, allocations: 4.375 kB / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.4544, allocations: 46.25 kB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4544, allocations: 192 / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4544, allocations: 3.938 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.4544, allocations: 0 / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.4545, allocations: 8 kB / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.4549, allocations: 296.8 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.16e-05/0.455, allocations: 34.45 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.455, allocations: 20.92 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.455, allocations: 3.984 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.4552, allocations: 59.39 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.4552, allocations: 0 / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002216/0.4554, allocations: 69.61 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.4555, allocations: 55.41 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/0.4556, allocations: 117.8 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4556, allocations: 25.7 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.4557, allocations: 84.14 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.4557, allocations: 15.89 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.4557, allocations: 17.7 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4559, allocations: 318.8 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.4559, allocations: 27.98 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.456, allocations: 50.55 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.4561, allocations: 88.22 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.4562, allocations: 3.938 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002433/0.4564, allocations: 155.3 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.4565, allocations: 38.8 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4565, allocations: 4 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4565, allocations: 0 / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.438e-05/0.4566, allocations: 64 / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4566, allocations: 8 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.4568, allocations: 39.86 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.4568, allocations: 4 kB / 1.078 GB, free: 3.328 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: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.4569, allocations: 125.7 kB / 1.078 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.457, allocations: 4 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.457, allocations: 7.891 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.457, allocations: 4 kB / 1.078 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.457, allocations: 0 / 1.078 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.457, allocations: 0 / 1.078 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.4572, allocations: 165.6 kB / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4572, allocations: 0 / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.4572, allocations: 3.984 kB / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.4572, allocations: 0 / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.4572, allocations: 0 / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4572, allocations: 8 kB / 1.078 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4572, allocations: 0 / 1.078 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.4574, allocations: 84.97 kB / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.4574, allocations: 81.09 kB / 1.078 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4574, allocations: 4 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.4575, allocations: 7.938 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.4575, allocations: 3.938 kB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4575, allocations: 0 / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.81e-05/0.4576, allocations: 95.66 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4576, allocations: 0 / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002072/0.4578, allocations: 16 kB / 1.079 GB, free: 2.625 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: 3 ($whenCondition1,$whenCondition2,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.0001421/0.4579, allocations: 98.06 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.4582, allocations: 127.4 kB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4582, allocations: 0 / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-05/0.4582, allocations: 15.94 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.4585, allocations: 17.95 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.4588, allocations: 134.8 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.459, allocations: 0.6814 MB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.4591, allocations: 11.89 kB / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.4591, allocations: 11.44 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4591, allocations: 0 / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of Templates: time 0.003679/0.4628, allocations: 1.019 MB / 1.081 GB, free: 468 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)