Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.00112/0.00112, allocations: 180.8 kB / 361.4 MB, free: 6.809 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.912/1.912, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.000986/0.0009859, allocations: 97.59 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.449e-05, allocations: 4 kB / 0.8518 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7824, allocations: 115.3 MB / 0.9645 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.9592, allocations: 137.4 MB / 1.099 GB, free: 2.441 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.9595, allocations: 64.5 kB / 1.099 GB, free: 2.379 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005361/0.9648, allocations: 1.793 MB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9649, allocations: 0 / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.9649, allocations: 0.7188 kB / 1.1 GB, free: 0.6328 MB / 0.698 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.0003714/0.9653, allocations: 372.9 kB / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.9653, allocations: 12.02 kB / 1.101 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.9654, allocations: 9.594 kB / 1.101 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.9655, allocations: 163 kB / 1.101 GB, free: 0 / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.9655, allocations: 5.203 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.9656, allocations: 4 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.101e-05/0.9656, allocations: 4 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.115e-05/0.9657, allocations: 42.73 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.9657, allocations: 0.5312 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.9657, allocations: 0.5 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.9657, allocations: 4.938 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.9661, allocations: 274.6 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/0.9662, allocations: 30.56 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.9662, allocations: 9.984 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.9662, allocations: 1.312 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.9663, allocations: 65.47 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.9663, allocations: 3.938 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001638/0.9665, allocations: 54.11 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.9665, allocations: 55.41 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.9666, allocations: 104 kB / 1.102 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.9667, allocations: 25.7 kB / 1.102 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.9667, allocations: 89.02 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.9667, allocations: 7.062 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.9668, allocations: 4 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.9669, allocations: 322.8 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.9669, allocations: 24 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.967, allocations: 46.56 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.9672, allocations: 39.06 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9672, allocations: 2.906 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002796/0.9675, allocations: 125 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.9675, allocations: 34.8 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9675, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.9676, allocations: 2.203 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.263e-05/0.9676, allocations: 11.34 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.9676, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.9678, allocations: 31.97 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.9678, allocations: 11.98 kB / 1.102 GB, free: 14.5 MB / 0.7136 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 7.567e-05/0.9679, allocations: 113 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.38e-05/0.968, allocations: 53.69 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.968, allocations: 7.906 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.968, allocations: 4.344 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.968, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.9681, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9681, allocations: 7.922 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.9682, allocations: 146.2 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.9682, allocations: 0 / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.9682, allocations: 8 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.9682, allocations: 4 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.9682, allocations: 0 / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9682, allocations: 0 / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.9683, allocations: 0 / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.9684, allocations: 89 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.9684, allocations: 81.02 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.9684, allocations: 0 / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.609e-05/0.9685, allocations: 4 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.9685, allocations: 10.38 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.9685, allocations: 0 / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.9685, allocations: 83.28 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9686, allocations: 4 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002098/0.9688, allocations: 21.31 kB / 1.103 GB, free: 13.79 MB / 0.7136 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.0004111/0.9692, allocations: 0.6335 MB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.9694, allocations: 119.3 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9694, allocations: 0 / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.947e-05/0.9694, allocations: 12 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.9696, allocations: 9.625 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.9699, allocations: 104 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.9702, allocations: 0.6902 MB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.9703, allocations: 4 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.9703, allocations: 11.44 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.9703, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.9913, allocations: 1.388 MB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.9916, allocations: 166.6 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.56, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)