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.754/1.754, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001205/0.001205, allocations: 178.2 kB / 371.6 MB, free: 3.395 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.689/1.689, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009059/0.0009059, allocations: 92.95 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.985e-05/3.988e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3419, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9764/1.318, allocations: 139 MB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.319, allocations: 70.22 kB / 1.116 GB, free: 44.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004908/1.324, allocations: 1.79 MB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.146e-06/1.324, allocations: 7.469 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.665e-06/1.324, allocations: 0 / 1.117 GB, free: 43.58 MB / 0.7448 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.0003326/1.324, allocations: 364 kB / 1.118 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/1.324, allocations: 12.03 kB / 1.118 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/1.324, allocations: 34.41 kB / 1.118 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/1.324, allocations: 9.547 kB / 1.118 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/1.324, allocations: 165.4 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/1.324, allocations: 7.875 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/1.324, allocations: 5.062 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.514e-05/1.324, allocations: 44.31 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.324, allocations: 0.5156 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/1.324, allocations: 3.438 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.324, allocations: 0 / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.896e-05/1.325, allocations: 12.06 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/1.325, allocations: 293.9 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.125e-05/1.325, allocations: 25.89 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/1.325, allocations: 12.92 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/1.325, allocations: 0 / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/1.325, allocations: 65.83 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/1.325, allocations: 1.031 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001856/1.325, allocations: 60.78 kB / 1.119 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/1.325, allocations: 54.78 kB / 1.119 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/1.325, allocations: 100.3 kB / 1.119 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/1.325, allocations: 34.27 kB / 1.119 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/1.326, allocations: 84.02 kB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/1.326, allocations: 7.906 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/1.326, allocations: 0 / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/1.326, allocations: 321.8 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/1.326, allocations: 29.62 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/1.326, allocations: 54.86 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.649e-05/1.326, allocations: 60.06 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.326, allocations: 0 / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002125/1.326, allocations: 146.1 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/1.326, allocations: 41.16 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.326, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/1.326, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.701e-05/1.326, allocations: 4 kB / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/1.326, allocations: 0.75 kB / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/1.326, allocations: 42.91 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/1.326, allocations: 11.08 kB / 1.119 GB, free: 41.49 MB / 0.7448 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 6.702e-05/1.327, allocations: 111.8 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/1.327, allocations: 3.938 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/1.327, allocations: 15.11 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.327, allocations: 0 / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.327, allocations: 0 / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.327, allocations: 0.625 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.183e-05/1.327, allocations: 171 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.327, allocations: 0 / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/1.327, allocations: 4.031 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.327, allocations: 1.312 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/1.327, allocations: 4.656 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.327, allocations: 0 / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.327, allocations: 0 / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.959e-05/1.327, allocations: 93.89 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/1.327, allocations: 81.11 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/1.327, allocations: 0 / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.356e-05/1.327, allocations: 0 / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/1.327, allocations: 0.75 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/1.327, allocations: 11.31 kB / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.92e-05/1.327, allocations: 82.47 kB / 1.12 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.327, allocations: 4 kB / 1.12 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001929/1.327, allocations: 31.75 kB / 1.12 GB, free: 40.84 MB / 0.7448 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.0003027/1.328, allocations: 0.6266 MB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001768/1.328, allocations: 129.8 kB / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.328, allocations: 0 / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-05/1.328, allocations: 16.77 kB / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/1.328, allocations: 7.562 kB / 1.121 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/1.328, allocations: 113.6 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/1.328, allocations: 0.6836 MB / 1.122 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.006e-05/1.328, allocations: 0.8438 kB / 1.122 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/1.328, allocations: 18.08 kB / 1.122 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/1.328, allocations: 0 / 1.122 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/1.344, allocations: 1.737 MB / 1.123 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/1.344, allocations: 179.9 kB / 1.123 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/3.098, allocations: 0 / 1.123 GB, free: 38.09 MB / 0.7448 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)