Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.61/2.61, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.00143/0.00143, allocations: 180.9 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.3 MB / 0.6191 GB, free: 12.23 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.001143/0.001141, allocations: 93.19 kB / 0.7321 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.6e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8181, allocations: 115.2 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/1.062, allocations: 137.2 MB / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/1.063, allocations: 70.58 kB / 1.097 GB, free: 3.195 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008765/1.071, allocations: 1.785 MB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/1.071, allocations: 3.938 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.071, allocations: 0.6562 kB / 1.099 GB, free: 1.449 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.0005366/1.072, allocations: 368.8 kB / 1.1 GB, free: 1.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.072, allocations: 8.75 kB / 1.1 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/1.072, allocations: 9.109 kB / 1.1 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/1.072, allocations: 176.7 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/1.072, allocations: 4.688 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/1.072, allocations: 4 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.956e-05/1.072, allocations: 4.719 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/1.073, allocations: 40.72 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.073, allocations: 0 / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/1.073, allocations: 7.938 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.073, allocations: 0.5 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/1.073, allocations: 273.2 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.693e-05/1.073, allocations: 27.77 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/1.073, allocations: 9.547 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/1.073, allocations: 1 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/1.073, allocations: 56.09 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 5.06e-06/1.073, allocations: 0 / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002218/1.074, allocations: 66.22 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/1.074, allocations: 56.27 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/1.074, allocations: 97.66 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/1.074, allocations: 26.77 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/1.074, allocations: 88.14 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/1.074, allocations: 8.641 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/1.074, allocations: 4 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.074, allocations: 316.7 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/1.074, allocations: 28 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/1.075, allocations: 51.73 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/1.075, allocations: 35.28 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/1.075, allocations: 4 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005028/1.075, allocations: 121.3 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/1.075, allocations: 37.7 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/1.075, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.075, allocations: 4.969 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/1.076, allocations: 7.938 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.076, allocations: 2.344 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/1.076, allocations: 36.02 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/1.076, allocations: 12 kB / 1.101 GB, free: 15.31 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.0001301/1.076, allocations: 112.7 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001352/1.076, allocations: 55 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/1.076, allocations: 7.906 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/1.076, allocations: 4.344 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.076, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.076, allocations: 3.984 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.076, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/1.077, allocations: 142.2 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.077, allocations: 4 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/1.077, allocations: 3.938 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.077, allocations: 4 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/1.077, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.077, allocations: 3.984 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.077, allocations: 0 / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/1.077, allocations: 82.25 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/1.077, allocations: 81.02 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/1.077, allocations: 4 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.805e-05/1.077, allocations: 4 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/1.077, allocations: 7.984 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/1.077, allocations: 0 / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.265e-05/1.077, allocations: 87.27 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.077, allocations: 1.312 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003329/1.077, allocations: 23.94 kB / 1.102 GB, free: 14.6 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.0005699/1.078, allocations: 0.6296 MB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002919/1.078, allocations: 119.3 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.078, allocations: 0 / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.716e-05/1.078, allocations: 15.94 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/1.079, allocations: 10.56 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/1.079, allocations: 113.4 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/1.079, allocations: 0.6807 MB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.312e-05/1.08, allocations: 4 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/1.08, allocations: 11.44 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of SimCode: time 1.342e-06/1.08, allocations: 1.688 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03941/1.119, allocations: 1.386 MB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003367/1.119, allocations: 160.7 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/3.405, allocations: 0.75 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)