Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.808/1.808, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001072/0.001072, allocations: 172.9 kB / 361.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008638/0.0008636, allocations: 98.88 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.487e-05, allocations: 4 kB / 0.8519 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.6717, allocations: 115.3 MB / 0.9645 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.861, allocations: 137.4 MB / 1.099 GB, free: 2.414 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.8613, allocations: 67.97 kB / 1.099 GB, free: 2.348 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005375/0.8667, allocations: 1.789 MB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8667, allocations: 4 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.8667, allocations: 0.5938 kB / 1.1 GB, free: 0.5977 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.0003775/0.8671, allocations: 365.5 kB / 1.101 GB, free: 196 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.8672, allocations: 8.031 kB / 1.101 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.8672, allocations: 12.88 kB / 1.101 GB, free: 176 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.8674, allocations: 171.5 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.8674, allocations: 0.7188 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.8674, allocations: 11.98 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.899e-05/0.8675, allocations: 5.25 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.446e-05/0.8676, allocations: 41.69 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.8676, allocations: 0 / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.8676, allocations: 0.5312 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.8676, allocations: 3.031 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.868, allocations: 279.6 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.352e-05/0.8681, allocations: 23.17 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.8681, allocations: 13.41 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.8681, allocations: 0.9375 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.8683, allocations: 56.81 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.8683, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001693/0.8684, allocations: 65.53 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.8685, allocations: 52.06 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.8686, allocations: 102.3 kB / 1.102 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.8686, allocations: 29.7 kB / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.8687, allocations: 85 kB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.8687, allocations: 11.91 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.8687, allocations: 0 / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8688, allocations: 322 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.8689, allocations: 28 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.869, allocations: 46.56 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.8691, allocations: 35.97 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8692, allocations: 3.125 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002772/0.8694, allocations: 113.5 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.8695, allocations: 41.69 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8695, allocations: 6.75 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.8696, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.8696, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8696, allocations: 7.406 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.8698, allocations: 35.97 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.8698, allocations: 9.766 kB / 1.102 GB, free: 14.46 MB / 0.7136 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 () * 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 9.274e-05/0.8699, allocations: 113 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.797e-05/0.87, allocations: 57.69 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.87, allocations: 7.844 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.8701, allocations: 4.344 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.8701, allocations: 4 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8701, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8701, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.8702, allocations: 142.2 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8702, allocations: 0 / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.8703, allocations: 4 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8703, allocations: 0 / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.8703, allocations: 7.938 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8703, allocations: 0 / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.8703, allocations: 0 / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.8704, allocations: 91.44 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.8705, allocations: 85.02 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.8705, allocations: 0 / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.8705, allocations: 0 / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.8706, allocations: 0 / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.8706, allocations: 15.98 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.8706, allocations: 79.28 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8706, allocations: 0 / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000237/0.8709, allocations: 23.94 kB / 1.103 GB, free: 13.75 MB / 0.7136 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 () * 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.0005236/0.8714, allocations: 0.6355 MB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.8716, allocations: 119.4 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8716, allocations: 0 / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.8717, allocations: 11.94 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.8719, allocations: 12.67 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.8723, allocations: 104 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.8727, allocations: 0.6846 MB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.8727, allocations: 8.125 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.8728, allocations: 11.44 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.8728, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.8938, allocations: 1.376 MB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.894, allocations: 169.2 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.447, allocations: 2.188 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)