Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.547/1.547, allocations: 251.9 MB / 266.9 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 190.4 kB / 326.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 0.5775 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007908/0.0007908, allocations: 90.36 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 7.594 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.3967, allocations: 131.5 MB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.397, allocations: 75.95 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001686/0.3987, allocations: 0.649 MB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3987, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.3987, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003887/0.3991, allocations: 351.5 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.3992, allocations: 12.02 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.3992, allocations: 30.56 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.3993, allocations: 11.84 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3994, allocations: 163 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3994, allocations: 11.94 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.3995, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.29e-05/0.3996, allocations: 41.69 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.3996, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3996, allocations: 4 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3996, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.3996, allocations: 15.98 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.4, allocations: 252.9 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.4004, allocations: 94.45 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.4004, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.4006, allocations: 63.48 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4006, allocations: 0 / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.000181/0.4008, allocations: 65.53 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.4008, allocations: 59.41 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.4009, allocations: 96.98 kB / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.4009, allocations: 29.7 kB / 1.03 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.401, allocations: 88.12 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.401, allocations: 3.906 kB / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.401, allocations: 0 / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4011, allocations: 326.8 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.4011, allocations: 7.984 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.4012, allocations: 17.97 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.4012, allocations: 12 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4012, allocations: 0 / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.144e-05/0.4013, allocations: 61.8 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.4013, allocations: 4 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4013, allocations: 4.156 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4013, allocations: 4 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.842e-05/0.4014, allocations: 8 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.4014, allocations: 0 / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.4014, allocations: 7.984 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.4015, allocations: 0 / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 7.637e-05/0.4015, allocations: 121.7 kB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.4016, allocations: 7.906 kB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.4016, allocations: 7.906 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4016, allocations: 0 / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4016, allocations: 3.984 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.4016, allocations: 3.938 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.4017, allocations: 165.6 kB / 1.031 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4017, allocations: 0 / 1.031 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.4018, allocations: 7.984 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4018, allocations: 0 / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.4018, allocations: 3.938 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4018, allocations: 0 / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4018, allocations: 0 / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.612e-05/0.4019, allocations: 85.08 kB / 1.031 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.4019, allocations: 81.02 kB / 1.031 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.402, allocations: 0 / 1.031 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.402, allocations: 7.984 kB / 1.031 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.4021, allocations: 7.938 kB / 1.031 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4021, allocations: 7.984 kB / 1.031 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.808e-05/0.4021, allocations: 83.28 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4021, allocations: 4 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001644/0.4023, allocations: 8 kB / 1.032 GB, free: 8.727 MB / 0.6823 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,booToInt.y,booPul.y,booPul.pulseStart) * 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 (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.0003492/0.4026, allocations: 0.6131 MB / 1.032 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.024e-05/0.4027, allocations: 27.94 kB / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4027, allocations: 4.062 kB / 1.032 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.4028, allocations: 11.98 kB / 1.032 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.4029, allocations: 8 kB / 1.032 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.4036, allocations: 0.562 MB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.4038, allocations: 0.6809 MB / 1.033 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.4039, allocations: 3.984 kB / 1.033 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.4039, allocations: 15.44 kB / 1.033 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/0.4039, allocations: 0 / 1.033 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01054/0.4145, allocations: 1.213 MB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.4147, allocations: 207.3 kB / 1.035 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/1.857, allocations: 2.531 kB / 1.035 GB, free: 5.406 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)