Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 289.9 MB / 297.4 MB, free: 6.41 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: 184.8 kB / 366.7 MB, free: 1.691 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.886/1.886, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.0008875/0.0008871, allocations: 97.88 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.208e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7758, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/0.9865, allocations: 138.3 MB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.9869, allocations: 75.89 kB / 1.109 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005937/0.9928, allocations: 1.787 MB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9929, allocations: 0.5938 kB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.9929, allocations: 4.688 kB / 1.11 GB, free: 9.953 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.0004433/0.9933, allocations: 369.1 kB / 1.111 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.9934, allocations: 8.031 kB / 1.111 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.9935, allocations: 12.66 kB / 1.111 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.9936, allocations: 167 kB / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.9937, allocations: 0 / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.9937, allocations: 4.719 kB / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.219e-05/0.9938, allocations: 8 kB / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.639e-05/0.9939, allocations: 43.16 kB / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.9939, allocations: 0 / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.9939, allocations: 0 / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.9939, allocations: 0.8438 kB / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.9944, allocations: 286.4 kB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.563e-05/0.9945, allocations: 24.55 kB / 1.111 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.9945, allocations: 8.922 kB / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.9946, allocations: 0 / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.9947, allocations: 58.25 kB / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.9947, allocations: 0 / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001818/0.9949, allocations: 62.84 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.995, allocations: 59.39 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.995, allocations: 100 kB / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.9951, allocations: 26.33 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.9951, allocations: 85.23 kB / 1.112 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.9952, allocations: 11.91 kB / 1.112 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.9952, allocations: 0 / 1.112 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.9953, allocations: 319.4 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.9954, allocations: 31.47 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.9955, allocations: 48.41 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.9957, allocations: 31.97 kB / 1.112 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9957, allocations: 1 kB / 1.112 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002984/0.996, allocations: 125.4 kB / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.9961, allocations: 39.11 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.9961, allocations: 3.938 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.9961, allocations: 0 / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.724e-05/0.9961, allocations: 4 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.9962, allocations: 0 / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.9963, allocations: 41.97 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.9964, allocations: 7.984 kB / 1.112 GB, free: 7.816 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 0.0001043/0.9965, allocations: 114.4 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.751e-05/0.9966, allocations: 53.69 kB / 1.112 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.9966, allocations: 7.906 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.9966, allocations: 4.344 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9966, allocations: 0 / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.9966, allocations: 4.141 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.9966, allocations: 11.97 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.9968, allocations: 138.2 kB / 1.112 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9968, allocations: 0 / 1.112 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.9968, allocations: 4 kB / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9968, allocations: 0 / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.9968, allocations: 0 / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.9968, allocations: 3.984 kB / 1.112 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9969, allocations: 6 kB / 1.112 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.997, allocations: 89.02 kB / 1.113 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.997, allocations: 81.02 kB / 1.113 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.997, allocations: 4 kB / 1.113 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.428e-05/0.9971, allocations: 0 / 1.113 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.9971, allocations: 3.984 kB / 1.113 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.9971, allocations: 4 kB / 1.113 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.9972, allocations: 83.28 kB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9972, allocations: 0 / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000204/0.9974, allocations: 23.94 kB / 1.113 GB, free: 7.105 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.0004387/0.9978, allocations: 0.6358 MB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.998, allocations: 119.4 kB / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9981, allocations: 0 / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.9981, allocations: 11.94 kB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.9983, allocations: 13.53 kB / 1.114 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.9986, allocations: 104.2 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.9989, allocations: 0.6846 MB / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.9989, allocations: 0 / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.999, allocations: 15.44 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.999, allocations: 0 / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/1.02, allocations: 1.382 MB / 1.116 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/1.021, allocations: 157.9 kB / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.542, allocations: 3.688 kB / 1.116 GB, free: 3.91 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)