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.611/1.611, allocations: 285.4 MB / 298 MB, free: 5.926 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.00107/0.00107, allocations: 176.8 kB / 366.4 MB, free: 2.086 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.725/1.725, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.0007987/0.0007988, allocations: 87.25 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.441e-05/5.455e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8343/0.8343, allocations: 115.3 MB / 0.971 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2554/1.09, allocations: 138 MB / 1.106 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.09, allocations: 71.95 kB / 1.106 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007189/1.097, allocations: 1.791 MB / 1.108 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/1.097, allocations: 0 / 1.108 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.156e-05/1.098, allocations: 4 kB / 1.108 GB, free: 11.91 MB / 0.7136 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.0004355/1.098, allocations: 372.8 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/1.098, allocations: 10.25 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/1.098, allocations: 30.56 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/1.098, allocations: 7.906 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/1.098, allocations: 167 kB / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/1.098, allocations: 0 / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/1.098, allocations: 11.98 kB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/1.098, allocations: 38.14 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.099, allocations: 0.7188 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/1.099, allocations: 0 / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.099, allocations: 0.6562 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/1.099, allocations: 16.58 kB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/1.099, allocations: 294 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.798e-05/1.099, allocations: 27.2 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/1.099, allocations: 14.11 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/1.099, allocations: 4 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/1.099, allocations: 62.92 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/1.099, allocations: 0 / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002056/1.1, allocations: 60.03 kB / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/1.1, allocations: 52.19 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/1.1, allocations: 108.9 kB / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/1.1, allocations: 30.92 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/1.1, allocations: 84.14 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/1.1, allocations: 8.781 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/1.1, allocations: 0 / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.1, allocations: 324.4 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/1.1, allocations: 28 kB / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/1.1, allocations: 50.56 kB / 1.109 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/1.101, allocations: 54.91 kB / 1.109 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.101, allocations: 7.938 kB / 1.109 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003526/1.101, allocations: 147.2 kB / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/1.101, allocations: 39.11 kB / 1.11 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/1.101, allocations: 0 / 1.11 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.101, allocations: 4 kB / 1.11 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.186e-05/1.101, allocations: 3.984 kB / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/1.101, allocations: 1.875 kB / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/1.101, allocations: 42.34 kB / 1.11 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/1.101, allocations: 7.938 kB / 1.11 GB, free: 9.613 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.239e-05/1.101, allocations: 112.9 kB / 1.11 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/1.101, allocations: 4 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/1.102, allocations: 9.234 kB / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.102, allocations: 0 / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.102, allocations: 4.094 kB / 1.11 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/1.102, allocations: 3.984 kB / 1.11 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/1.102, allocations: 165.6 kB / 1.11 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/1.102, allocations: 0 / 1.11 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/1.102, allocations: 7.984 kB / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.102, allocations: 0 / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/1.102, allocations: 0 / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.102, allocations: 0 / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.102, allocations: 0 / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/1.102, allocations: 96.92 kB / 1.11 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/1.102, allocations: 77.11 kB / 1.11 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/1.102, allocations: 4.641 kB / 1.11 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/1.102, allocations: 1.625 kB / 1.11 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/1.102, allocations: 4 kB / 1.11 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/1.102, allocations: 0 / 1.11 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.5e-05/1.102, allocations: 91.27 kB / 1.11 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/1.102, allocations: 0 / 1.11 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003601/1.103, allocations: 27.92 kB / 1.11 GB, free: 8.914 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.0005012/1.103, allocations: 0.642 MB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002906/1.103, allocations: 119.4 kB / 1.111 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.103, allocations: 0 / 1.111 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.981e-05/1.103, allocations: 16 kB / 1.111 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/1.104, allocations: 12.06 kB / 1.111 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/1.104, allocations: 114.8 kB / 1.111 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/1.104, allocations: 0.6848 MB / 1.112 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.856e-05/1.104, allocations: 4 kB / 1.112 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/1.105, allocations: 11.44 kB / 1.112 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of SimCode: time 3.9e-07/1.105, allocations: 0 / 1.112 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/1.119, allocations: 1.744 MB / 1.113 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/1.12, allocations: 182.5 kB / 1.114 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.407/2.527, allocations: 0 / 1.114 GB, free: 5.457 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)