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.61/1.61, allocations: 249.3 MB / 261.8 MB, free: 5.965 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.001159/0.001159, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.001124/0.001124, allocations: 82.55 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.557e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2096, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6886/0.8983, allocations: 131.4 MB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.8986, allocations: 72.14 kB / 1.02 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001673/0.9003, allocations: 0.6481 MB / 1.021 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9003, allocations: 4 kB / 1.021 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.9003, allocations: 4 kB / 1.021 GB, free: 2.691 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.0003553/0.9007, allocations: 334.7 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.9007, allocations: 8.031 kB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.9008, allocations: 37.23 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.9008, allocations: 7.984 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.901, allocations: 174.9 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.901, allocations: 0 / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.901, allocations: 4 kB / 1.021 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.007e-05/0.9011, allocations: 41.12 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.9011, allocations: 0 / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.9011, allocations: 0 / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.9011, allocations: 0 / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.9012, allocations: 19.44 kB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.9016, allocations: 256.1 kB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.9019, allocations: 93.2 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.902, allocations: 16.8 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.902, allocations: 0 / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.9021, allocations: 62.47 kB / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.9021, allocations: 0 / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001433/0.9022, allocations: 49.39 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.9023, allocations: 51.41 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.9024, allocations: 106.4 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.9024, allocations: 33.2 kB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.9025, allocations: 88.05 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.9025, allocations: 11.78 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.9025, allocations: 0 / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9026, allocations: 318.8 kB / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.9026, allocations: 13.78 kB / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.9027, allocations: 21.53 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.9027, allocations: 7.625 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9027, allocations: 4 kB / 1.023 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.211e-05/0.9028, allocations: 52.88 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.9028, allocations: 8 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.9028, allocations: 0 / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.9028, allocations: 0 / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.245e-05/0.9029, allocations: 4 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9029, allocations: 0 / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/0.903, allocations: 15.73 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.903, allocations: 3.953 kB / 1.023 GB, free: 0.7383 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 5.551e-05/0.903, allocations: 105 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.903, allocations: 7.906 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.9031, allocations: 7.844 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.9031, allocations: 0 / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.9031, allocations: 7.984 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.9031, allocations: 0 / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.9032, allocations: 156.9 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9032, allocations: 0.875 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.9033, allocations: 10.73 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9033, allocations: 4 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.9033, allocations: 0 / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.9033, allocations: 0 / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.9033, allocations: 7.875 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.867e-05/0.9034, allocations: 79.95 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.9034, allocations: 77.67 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.9035, allocations: 4 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.9035, allocations: 15.92 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.9036, allocations: 3.5 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.9036, allocations: 8.359 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.9036, allocations: 86.16 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9036, allocations: 0 / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001667/0.9038, allocations: 8 kB / 1.023 GB, free: 88 kB / 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.0003881/0.9042, allocations: 0.6213 MB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.516e-05/0.9043, allocations: 30.72 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9043, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.339e-05/0.9043, allocations: 15.44 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.9045, allocations: 5.969 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.9048, allocations: 106.4 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.905, allocations: 0.6849 MB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.491e-05/0.9051, allocations: 4 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.9051, allocations: 14.73 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/0.9051, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0115/0.9166, allocations: 1.218 MB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.9169, allocations: 178.4 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.464, allocations: 0 / 1.026 GB, free: 13.23 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)