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.441/1.441, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 176.6 kB / 316.3 MB, free: 3.285 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.664/1.664, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0008744/0.0008742, allocations: 99.64 kB / 0.6715 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.695e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.181, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6603/0.8413, allocations: 131.7 MB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.8416, allocations: 70.33 kB / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001616/0.8432, allocations: 0.6492 MB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8432, allocations: 0 / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.8432, allocations: 0 / 1.015 GB, free: 5.074 MB / 0.6355 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.0003976/0.8436, allocations: 335.4 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8437, allocations: 9.062 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.8437, allocations: 6.734 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.8439, allocations: 174.9 kB / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.8439, allocations: 4 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.8439, allocations: 3.984 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.686e-05/0.844, allocations: 11.94 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.368e-05/0.844, allocations: 33.33 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.8441, allocations: 4 kB / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.8441, allocations: 3.984 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.8441, allocations: 0 / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.8445, allocations: 232.9 kB / 1.015 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.8448, allocations: 93.89 kB / 1.015 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.8449, allocations: 24.86 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.8449, allocations: 0 / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.845, allocations: 51.22 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.845, allocations: 0 / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001477/0.8451, allocations: 45.31 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.8452, allocations: 59.34 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.8453, allocations: 97.44 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.8453, allocations: 29.7 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.8454, allocations: 87.92 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.8454, allocations: 7.844 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.8454, allocations: 0 / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8455, allocations: 326.7 kB / 1.016 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.8456, allocations: 7.875 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.8456, allocations: 17.59 kB / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.8456, allocations: 8 kB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8456, allocations: 0 / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001036/0.8457, allocations: 53.44 kB / 1.016 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.8458, allocations: 4 kB / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8458, allocations: 4 kB / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.8458, allocations: 0 / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.529e-05/0.8458, allocations: 11.92 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.8459, allocations: 0 / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.8459, allocations: 8.031 kB / 1.016 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.8459, allocations: 4 kB / 1.016 GB, free: 3.211 MB / 0.6355 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 () * 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 8.092e-05/0.846, allocations: 108.8 kB / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.295e-05/0.8461, allocations: 57.34 kB / 1.016 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.8461, allocations: 4 kB / 1.016 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.8461, allocations: 4.344 kB / 1.016 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.8462, allocations: 3.984 kB / 1.016 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8462, allocations: 0 / 1.016 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.8462, allocations: 0 / 1.016 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.8463, allocations: 150 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.8463, allocations: 0 / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.8463, allocations: 0 / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.8463, allocations: 3.984 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.8464, allocations: 4 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8464, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8464, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.535e-05/0.8465, allocations: 80.14 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.8465, allocations: 81.02 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.8466, allocations: 4 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.232e-05/0.8466, allocations: 19.73 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.8467, allocations: 192 / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.8467, allocations: 4 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.8467, allocations: 90.77 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8467, allocations: 0 / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001996/0.8469, allocations: 4 kB / 1.017 GB, free: 2.535 MB / 0.6355 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 () * 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.0003899/0.8473, allocations: 0.6187 MB / 1.017 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.912e-05/0.8474, allocations: 19.75 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.8474, allocations: 3.938 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.8475, allocations: 15.67 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.8476, allocations: 4 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.8479, allocations: 105 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.8482, allocations: 0.6846 MB / 1.018 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.8482, allocations: 0 / 1.018 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.8483, allocations: 15.38 kB / 1.018 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.8483, allocations: 0 / 1.018 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.8673, allocations: 0.9088 MB / 1.019 GB, free: 116 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.8676, allocations: 166.9 kB / 1.019 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.383/2.25, allocations: 3.25 kB / 1.019 GB, free: 15.92 MB / 0.6511 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)