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.653/1.653, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 176.4 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 0.5777 GB, free: 20.57 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.0008469/0.0008469, allocations: 93.23 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 12.94 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2394, allocations: 106.3 MB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001452/0.2409, allocations: 1.033 MB / 0.9013 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004162/0.2413, allocations: 181.6 kB / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.2414, allocations: 0 / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.2414, allocations: 0 / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.477e-05/0.2415, allocations: 7.922 kB / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.2416, allocations: 11.98 kB / 0.9015 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.721e-05/0.2417, allocations: 31.86 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.2418, allocations: 11.94 kB / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.2419, allocations: 15.98 kB / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.2419, allocations: 7.938 kB / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.242, allocations: 0 / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.242, allocations: 0 / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.242, allocations: 7.984 kB / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.2421, allocations: 33.64 kB / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.745e-05/0.2421, allocations: 19.97 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2422, allocations: 0 / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.697e-06/0.2422, allocations: 3.984 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2422, allocations: 0 / 0.9016 GB, free: 62.95 MB / 0.6042 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.0005121/0.2427, allocations: 339.6 kB / 0.902 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2427, allocations: 8.031 kB / 0.902 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.2428, allocations: 38.55 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.2428, allocations: 7.906 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.243, allocations: 163 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.243, allocations: 4 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.243, allocations: 3.938 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.2431, allocations: 45.69 kB / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2431, allocations: 7.938 kB / 0.9022 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2431, allocations: 0 / 0.9022 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2431, allocations: 0 / 0.9022 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.677e-05/0.2432, allocations: 15.98 kB / 0.9022 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.2436, allocations: 260.9 kB / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.244, allocations: 90.52 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.244, allocations: 12.86 kB / 0.9026 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.2441, allocations: 4 kB / 0.9026 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.2442, allocations: 59.48 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.2442, allocations: 4 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001819/0.2444, allocations: 65.77 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.2445, allocations: 51.41 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.2445, allocations: 113.7 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.2446, allocations: 25.7 kB / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.2446, allocations: 84.14 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.2446, allocations: 11.91 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.2446, allocations: 0 / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.2447, allocations: 318.8 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.2447, allocations: 8 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.781e-05/0.2448, allocations: 21.72 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.26e-05/0.2448, allocations: 4 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.2448, allocations: 0 / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.182e-05/0.2449, allocations: 61.62 kB / 0.9034 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2449, allocations: 11.94 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2449, allocations: 0 / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2449, allocations: 0 / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.894e-05/0.245, allocations: 7.984 kB / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.245, allocations: 0 / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.245, allocations: 15.86 kB / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.245, allocations: 0 / 0.9034 GB, free: 60.88 MB / 0.6042 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 () * Number of clocked 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 7.781e-05/0.2451, allocations: 125.8 kB / 0.9035 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.2451, allocations: 3.984 kB / 0.9035 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.2452, allocations: 11.91 kB / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2452, allocations: 0 / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2452, allocations: 3.938 kB / 0.9036 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2452, allocations: 0 / 0.9036 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.166e-05/0.2453, allocations: 165.6 kB / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2453, allocations: 0 / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/0.2453, allocations: 3.938 kB / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2453, allocations: 0 / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.2454, allocations: 4 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2454, allocations: 4 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2454, allocations: 384 / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.781e-05/0.2455, allocations: 80.98 kB / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.2455, allocations: 81.09 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2455, allocations: 12 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.81e-05/0.2456, allocations: 4 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.2456, allocations: 11.98 kB / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2456, allocations: 0 / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.225e-05/0.2457, allocations: 83.28 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2457, allocations: 0 / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001691/0.2458, allocations: 8 kB / 0.904 GB, free: 60.19 MB / 0.6042 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 () * 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.0003184/0.2462, allocations: 0.6241 MB / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.2463, allocations: 19.98 kB / 0.9046 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2463, allocations: 0 / 0.9046 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/0.2463, allocations: 19.94 kB / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.2465, allocations: 7.984 kB / 0.9047 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.2471, allocations: 413.5 kB / 0.905 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.2473, allocations: 0.6809 MB / 0.9057 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.2473, allocations: 11.89 kB / 0.9057 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.2474, allocations: 11.44 kB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2474, allocations: 0 / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.2584, allocations: 1.234 MB / 0.9069 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.2586, allocations: 217.6 kB / 0.9071 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/1.748, allocations: 0 / 0.9071 GB, free: 57.01 MB / 0.6042 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)