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.BooleanToReal.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.BooleanToReal,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 184.1 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008284/0.0008283, allocations: 89.05 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.461e-05/1.464e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1829, allocations: 106.4 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6708/0.8537, allocations: 131.7 MB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001676/0.8539, allocations: 67.72 kB / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001461/0.8554, allocations: 0.6516 MB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.62e-07/0.8554, allocations: 0 / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.8554, allocations: 0 / 1.015 GB, free: 5.066 MB / 0.6355 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.0003458/0.8558, allocations: 331.6 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.8558, allocations: 12.03 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.8558, allocations: 7.844 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.856, allocations: 178.9 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.856, allocations: 0 / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.8561, allocations: 4 kB / 1.015 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.166e-05/0.8561, allocations: 7.125 kB / 1.015 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.985e-05/0.8562, allocations: 41.38 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.8562, allocations: 0 / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.8562, allocations: 0 / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.8562, allocations: 0 / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.8565, allocations: 246.7 kB / 1.015 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.8569, allocations: 93.27 kB / 1.015 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.8569, allocations: 11.92 kB / 1.015 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.8569, allocations: 0 / 1.015 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.721e-05/0.857, allocations: 50.56 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/0.857, allocations: 0 / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001386/0.8572, allocations: 55.41 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.8572, allocations: 55.34 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.767e-05/0.8573, allocations: 105.5 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.8574, allocations: 25.7 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.8574, allocations: 84.05 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.8574, allocations: 19.08 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.8574, allocations: 0 / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8576, allocations: 318.2 kB / 1.016 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.8576, allocations: 4 kB / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.8576, allocations: 21.09 kB / 1.016 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.104e-05/0.8577, allocations: 11.3 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.8577, allocations: 4 kB / 1.016 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.579e-05/0.8577, allocations: 45.14 kB / 1.016 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.8578, allocations: 8 kB / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8578, allocations: 0 / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.8578, allocations: 3.984 kB / 1.016 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.303e-05/0.8578, allocations: 4 kB / 1.016 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.8578, allocations: 0 / 1.016 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.8579, allocations: 12.03 kB / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.8579, allocations: 0 / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete 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 9.253e-05/0.858, allocations: 108.1 kB / 1.016 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.124e-05/0.8581, allocations: 57.03 kB / 1.016 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.8581, allocations: 4 kB / 1.016 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.8582, allocations: 11.64 kB / 1.016 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8582, allocations: 1.188 kB / 1.016 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8582, allocations: 3.938 kB / 1.016 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8582, allocations: 0 / 1.016 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.8583, allocations: 145.6 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8583, allocations: 0 / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.8584, allocations: 7.984 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8584, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.8584, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.8584, allocations: 4.562 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8584, allocations: 0 / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.778e-05/0.8585, allocations: 80.11 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.8586, allocations: 85.11 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.8586, allocations: 0 / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/0.8586, allocations: 8.359 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.8587, allocations: 4 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.8587, allocations: 7.922 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.979e-05/0.8587, allocations: 88.78 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8587, allocations: 0 / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001863/0.8589, allocations: 8 kB / 1.017 GB, free: 2.52 MB / 0.6355 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,booPul.y,booPul.pulseStart) * 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.0003823/0.8593, allocations: 0.6097 MB / 1.017 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.402e-05/0.8594, allocations: 30.72 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8594, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-05/0.8595, allocations: 10.84 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.8596, allocations: 8.062 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.86, allocations: 108.2 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.8603, allocations: 0.6807 MB / 1.018 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.8603, allocations: 3.984 kB / 1.018 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.8603, allocations: 15.06 kB / 1.018 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of SimCode: time 3.627e-06/0.8603, allocations: 0 / 1.018 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.8811, allocations: 0.9017 MB / 1.019 GB, free: 104 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002928/0.8815, allocations: 173.3 kB / 1.019 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.401/2.283, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)