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.713/1.713, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001208/0.001208, allocations: 180.8 kB / 366.7 MB, free: 1.68 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.875/1.875, allocations: 205.3 MB / 0.626 GB, free: 7.168 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.0009479/0.000948, allocations: 86.75 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.237e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.7778, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/1.005, allocations: 138.3 MB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.005, allocations: 72.52 kB / 1.109 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005744/1.011, allocations: 1.794 MB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.194e-06/1.011, allocations: 1.875 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.558e-06/1.011, allocations: 0 / 1.11 GB, free: 10.05 MB / 0.7136 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.0004901/1.012, allocations: 368.1 kB / 1.111 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.012, allocations: 8.031 kB / 1.111 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/1.012, allocations: 8.5 kB / 1.111 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/1.012, allocations: 179 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.012, allocations: 0.625 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/1.012, allocations: 4 kB / 1.111 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.025e-05/1.012, allocations: 9.344 kB / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.702e-05/1.012, allocations: 37.69 kB / 1.111 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.012, allocations: 0 / 1.111 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/1.012, allocations: 0.8438 kB / 1.111 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.012, allocations: 0 / 1.111 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/1.012, allocations: 281.4 kB / 1.111 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.558e-05/1.013, allocations: 24.05 kB / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/1.013, allocations: 8.922 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/1.013, allocations: 1.25 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/1.013, allocations: 59.39 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 4.248e-06/1.013, allocations: 1.75 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001806/1.013, allocations: 69.47 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/1.013, allocations: 51.41 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/1.013, allocations: 102.3 kB / 1.111 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/1.013, allocations: 29.7 kB / 1.111 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/1.013, allocations: 80.14 kB / 1.112 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/1.013, allocations: 13.22 kB / 1.112 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/1.013, allocations: 0 / 1.112 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.013, allocations: 318.8 kB / 1.112 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/1.013, allocations: 29.81 kB / 1.112 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/1.013, allocations: 42.58 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/1.014, allocations: 40.7 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.014, allocations: 4.156 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002807/1.014, allocations: 117.3 kB / 1.112 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/1.014, allocations: 43.84 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.014, allocations: 0 / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.014, allocations: 4 kB / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/1.014, allocations: 0 / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.014, allocations: 4 kB / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/1.014, allocations: 39.97 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/1.014, allocations: 4 kB / 1.112 GB, free: 7.914 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 0.0001107/1.014, allocations: 112.9 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.815e-05/1.015, allocations: 57.69 kB / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/1.015, allocations: 3.906 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/1.015, allocations: 8.344 kB / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.015, allocations: 4 kB / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.015, allocations: 0 / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.015, allocations: 0 / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/1.015, allocations: 146.2 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.015, allocations: 0 / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/1.015, allocations: 4 kB / 1.112 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.015, allocations: 0 / 1.112 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/1.015, allocations: 0 / 1.112 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/1.015, allocations: 0 / 1.112 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.015, allocations: 3.938 kB / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/1.015, allocations: 89.2 kB / 1.113 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/1.015, allocations: 92.94 kB / 1.113 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/1.015, allocations: 2.438 kB / 1.113 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/1.015, allocations: 0 / 1.113 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/1.015, allocations: 0 / 1.113 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/1.015, allocations: 8 kB / 1.113 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.951e-05/1.015, allocations: 86.16 kB / 1.113 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.015, allocations: 4 kB / 1.113 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002225/1.015, allocations: 20 kB / 1.113 GB, free: 7.195 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.000459/1.016, allocations: 0.6319 MB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002334/1.016, allocations: 119.4 kB / 1.114 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.016, allocations: 0 / 1.114 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/1.016, allocations: 20.06 kB / 1.114 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/1.016, allocations: 5.969 kB / 1.114 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/1.017, allocations: 106.3 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/1.017, allocations: 0.6846 MB / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.956e-05/1.017, allocations: 0 / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/1.017, allocations: 16.2 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/1.017, allocations: 0 / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/1.039, allocations: 1.387 MB / 1.116 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.039, allocations: 150.1 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.664, allocations: 0 / 1.116 GB, free: 4 MB / 0.7136 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)