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.685/1.685, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001068/0.001068, allocations: 181 kB / 377.1 MB, free: 1.543 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.745/1.745, allocations: 205.4 MB / 0.6366 GB, free: 8.531 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.0009428/0.0009428, allocations: 96.8 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004319, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2805, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7927/1.073, allocations: 139.1 MB / 1.124 GB, free: 35.49 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/1.073, allocations: 66.5 kB / 1.124 GB, free: 35.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004548/1.078, allocations: 1.808 MB / 1.126 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.284e-06/1.078, allocations: 3.062 kB / 1.126 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.078, allocations: 0 / 1.126 GB, free: 34.11 MB / 0.7292 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.000362/1.078, allocations: 381.4 kB / 1.126 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.078, allocations: 12.02 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/1.079, allocations: 31.38 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/1.079, allocations: 6.062 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.611e-05/1.079, allocations: 167 kB / 1.127 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/1.079, allocations: 8 kB / 1.127 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/1.079, allocations: 11.44 kB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.78e-05/1.079, allocations: 39.38 kB / 1.127 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.079, allocations: 0.7031 kB / 1.127 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/1.079, allocations: 4 kB / 1.127 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.079, allocations: 0 / 1.127 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/1.079, allocations: 8 kB / 1.127 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/1.079, allocations: 294.5 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.624e-05/1.079, allocations: 33.58 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/1.079, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/1.08, allocations: 62.8 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/1.08, allocations: 0 / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.000176/1.08, allocations: 73.42 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/1.08, allocations: 51.41 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.904e-05/1.08, allocations: 104.7 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/1.08, allocations: 25.7 kB / 1.127 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/1.08, allocations: 92.05 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/1.08, allocations: 7.922 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/1.08, allocations: 8 kB / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.455e-05/1.08, allocations: 318.3 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/1.08, allocations: 27.61 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/1.08, allocations: 54.23 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.07e-05/1.08, allocations: 57.98 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.08, allocations: 0 / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002144/1.08, allocations: 151.7 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.08, allocations: 37.92 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.08, allocations: 0 / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/1.08, allocations: 0 / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/1.081, allocations: 7.938 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/1.081, allocations: 4.062 kB / 1.128 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/1.081, allocations: 39.25 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/1.081, allocations: 8 kB / 1.128 GB, free: 31.89 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/1.081, allocations: 114.4 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/1.081, allocations: 11.91 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/1.081, allocations: 12.12 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.081, allocations: 0 / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.081, allocations: 1.031 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.081, allocations: 0.75 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.644e-05/1.081, allocations: 164.5 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.081, allocations: 0 / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/1.081, allocations: 4 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.081, allocations: 0.8438 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/1.081, allocations: 0.5 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.081, allocations: 0 / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.081, allocations: 4 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.012e-05/1.081, allocations: 92.06 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/1.081, allocations: 86.27 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/1.081, allocations: 0 / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.461e-05/1.081, allocations: 0 / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/1.081, allocations: 11.41 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/1.081, allocations: 1.531 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.013e-05/1.081, allocations: 90.75 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.081, allocations: 0 / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002208/1.082, allocations: 27.94 kB / 1.129 GB, free: 31.21 MB / 0.7292 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 () * 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.0003216/1.082, allocations: 0.6296 MB / 1.129 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002012/1.082, allocations: 126 kB / 1.129 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.082, allocations: 4.062 kB / 1.129 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/1.082, allocations: 15.94 kB / 1.129 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/1.082, allocations: 8.266 kB / 1.129 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/1.083, allocations: 0.6435 MB / 1.13 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/1.083, allocations: 0.6878 MB / 1.131 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.862e-05/1.083, allocations: 3.938 kB / 1.131 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/1.083, allocations: 15.44 kB / 1.131 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/1.083, allocations: 0 / 1.131 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/1.096, allocations: 1.737 MB / 1.132 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/1.096, allocations: 195.2 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.761, allocations: 4.062 kB / 1.133 GB, free: 27.85 MB / 0.7292 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)