Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001691/0.001691, 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.002437/0.002437, allocations: 193.7 kB / 16.26 MB, free: 6.621 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.03/3.03, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 60.2 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4325, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002484/0.435, allocations: 0.6683 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.4369, allocations: 1.116 MB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.437, allocations: 0 / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.21e-05/0.4371, allocations: 0 / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.4372, allocations: 7.922 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.4379, allocations: 115.2 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.4381, allocations: 91.83 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4383, allocations: 4 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.4383, allocations: 35.97 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.4385, allocations: 31.89 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.4385, allocations: 8 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.352e-05/0.4386, allocations: 27.92 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.4386, allocations: 3.938 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.4387, allocations: 31.92 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.4389, allocations: 87.78 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4389, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4389, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.439, allocations: 0 / 1.07 GB, free: 8.531 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.0007147/0.4397, allocations: 381.4 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.4397, allocations: 8.031 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.4398, allocations: 4.938 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.44, allocations: 180.2 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.44, allocations: 384 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.4401, allocations: 8.375 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.4402, allocations: 38.25 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4402, allocations: 192 / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.4402, allocations: 7.922 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4402, allocations: 0 / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.098e-05/0.4403, allocations: 15.98 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.4408, allocations: 288.8 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.4409, allocations: 38.44 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.4409, allocations: 8.922 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.4409, allocations: 0 / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.4412, allocations: 63.39 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4412, allocations: 0 / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002297/0.4414, allocations: 77.53 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.4415, allocations: 51.41 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.4416, allocations: 109.8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.4416, allocations: 29.7 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.4417, allocations: 88.12 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.4417, allocations: 7.906 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.4418, allocations: 37.7 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4419, allocations: 318.8 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.4421, allocations: 27.98 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.637e-05/0.4422, allocations: 54.55 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.4423, allocations: 84.2 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4423, allocations: 7.938 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000268/0.4426, allocations: 155.3 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.4426, allocations: 37.7 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4426, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4426, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.4427, allocations: 7.984 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.4427, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.4429, allocations: 27.91 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.443, allocations: 8.062 kB / 1.072 GB, free: 6.133 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 0.0001116/0.4431, allocations: 125.7 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.4431, allocations: 3.984 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.4431, allocations: 7.906 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4432, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4432, allocations: 4 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4432, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.4434, allocations: 165.6 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4434, allocations: 4 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.4434, allocations: 4 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4434, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.4434, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4434, allocations: 4 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4434, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.4436, allocations: 92.95 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.4436, allocations: 77.11 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.4437, allocations: 3.938 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.4437, allocations: 8 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.4437, allocations: 0 / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.4437, allocations: 288 / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.4438, allocations: 91.27 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4438, allocations: 0 / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002162/0.444, allocations: 16 kB / 1.073 GB, free: 5.434 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.0001894/0.4442, allocations: 103.2 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.4445, allocations: 131.4 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4445, allocations: 4.062 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.4445, allocations: 12 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.4447, allocations: 23.86 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.4451, allocations: 133.9 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.4454, allocations: 0.6846 MB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.4454, allocations: 0 / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.4455, allocations: 11.44 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.4455, allocations: 0 / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of Templates: time 0.004024/0.4495, allocations: 1.072 MB / 1.075 GB, free: 3.207 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)