Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.BooleanToReal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.644/1.644, allocations: 289.7 MB / 302.2 MB, free: 2.207 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.001414/0.001415, allocations: 178.8 kB / 371.6 MB, free: 3.328 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.528/1.528, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001002/0.001002, allocations: 85.64 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.868e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3117, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.334, allocations: 139 MB / 1.116 GB, free: 44.68 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/1.334, allocations: 69.81 kB / 1.116 GB, free: 44.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004897/1.339, allocations: 1.793 MB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/1.339, allocations: 4 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.098e-05/1.339, allocations: 4 kB / 1.117 GB, free: 43.55 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.0003418/1.339, allocations: 372.5 kB / 1.118 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.339, allocations: 8.031 kB / 1.118 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/1.339, allocations: 30.56 kB / 1.118 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/1.339, allocations: 5.719 kB / 1.118 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/1.339, allocations: 169.3 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/1.339, allocations: 7.266 kB / 1.118 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/1.34, allocations: 7.812 kB / 1.118 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.959e-05/1.34, allocations: 41.55 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/1.34, allocations: 0 / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/1.34, allocations: 0 / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.34, allocations: 4 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/1.34, allocations: 8.5 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/1.34, allocations: 298.3 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.278e-05/1.34, allocations: 29.2 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/1.34, allocations: 12.11 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/1.34, allocations: 0 / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/1.34, allocations: 62.25 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/1.34, allocations: 3.828 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001634/1.34, allocations: 60.92 kB / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/1.34, allocations: 54.73 kB / 1.119 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/1.341, allocations: 102.6 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/1.341, allocations: 29.7 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/1.341, allocations: 90.78 kB / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/1.341, allocations: 3.906 kB / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/1.341, allocations: 7.25 kB / 1.119 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.229e-05/1.341, allocations: 314.8 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/1.341, allocations: 29.28 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.455e-05/1.341, allocations: 55.81 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.152e-05/1.341, allocations: 65.28 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/1.341, allocations: 0 / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002045/1.341, allocations: 141.3 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/1.341, allocations: 40.59 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.341, allocations: 0.8125 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/1.341, allocations: 4 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.265e-05/1.341, allocations: 0.75 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.341, allocations: 8.062 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/1.341, allocations: 33.84 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/1.342, allocations: 5.266 kB / 1.119 GB, free: 41.46 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: 4 ($whenCondition1,$whenCondition2,$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 5.529e-05/1.342, allocations: 117.3 kB / 1.12 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/1.342, allocations: 7.938 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/1.342, allocations: 11.53 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.342, allocations: 0.5625 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.342, allocations: 0.5625 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/1.342, allocations: 0.6562 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.729e-05/1.342, allocations: 163.4 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.342, allocations: 0.6875 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/1.342, allocations: 4 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/1.342, allocations: 0 / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/1.342, allocations: 4.281 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.342, allocations: 4.141 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.342, allocations: 4 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.402e-05/1.342, allocations: 91.89 kB / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/1.342, allocations: 77.11 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/1.342, allocations: 3.375 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.445e-05/1.342, allocations: 0.6875 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/1.342, allocations: 8.625 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/1.342, allocations: 3.938 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.618e-05/1.342, allocations: 91.88 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.342, allocations: 0 / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001903/1.342, allocations: 23.25 kB / 1.12 GB, free: 40.82 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: 3 ($whenCondition1,$whenCondition2,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.0002966/1.343, allocations: 0.6342 MB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001798/1.343, allocations: 121.6 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.343, allocations: 4.125 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/1.343, allocations: 19.81 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/1.343, allocations: 9.391 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/1.343, allocations: 107.5 kB / 1.121 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/1.343, allocations: 0.6836 MB / 1.122 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.137e-05/1.343, allocations: 4.75 kB / 1.122 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/1.343, allocations: 7.438 kB / 1.122 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.343, allocations: 4 kB / 1.122 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/1.356, allocations: 1.746 MB / 1.123 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/1.357, allocations: 172.2 kB / 1.123 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.963, allocations: 1.969 kB / 1.123 GB, free: 38.06 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)