Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.621/2.621, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.001465/0.001466, allocations: 176.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.00114/0.001139, allocations: 90.64 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.785e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8457/0.8457, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2421/1.088, allocations: 137.2 MB / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.088, allocations: 72.52 kB / 1.097 GB, free: 3.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008481/1.097, allocations: 1.786 MB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/1.097, allocations: 4.625 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.097, allocations: 0 / 1.099 GB, free: 1.41 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.0004786/1.097, allocations: 364.8 kB / 1.1 GB, free: 1.004 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/1.097, allocations: 9.344 kB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/1.097, allocations: 9.109 kB / 1.1 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/1.098, allocations: 174.1 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.098, allocations: 0.5 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/1.098, allocations: 4.594 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.415e-05/1.098, allocations: 11.98 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.857e-05/1.098, allocations: 35.39 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.098, allocations: 0 / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/1.098, allocations: 3.938 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/1.098, allocations: 0 / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/1.098, allocations: 281.2 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.939e-05/1.098, allocations: 26.05 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/1.099, allocations: 10.67 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/1.099, allocations: 0 / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/1.099, allocations: 59.98 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 4.308e-06/1.099, allocations: 2.219 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002097/1.099, allocations: 65.53 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/1.099, allocations: 55.34 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/1.099, allocations: 100.1 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/1.099, allocations: 29.7 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/1.099, allocations: 85 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/1.099, allocations: 15.89 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/1.099, allocations: 1.844 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.099, allocations: 318.8 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/1.1, allocations: 27.98 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/1.1, allocations: 46.98 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/1.1, allocations: 39.56 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.1, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004733/1.1, allocations: 117.5 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/1.101, allocations: 37.7 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.101, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.101, allocations: 4 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/1.101, allocations: 7.922 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/1.101, allocations: 6.219 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/1.101, allocations: 36.03 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/1.101, allocations: 4 kB / 1.101 GB, free: 15.27 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.0001075/1.101, allocations: 112.7 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000118/1.101, allocations: 57.69 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/1.101, allocations: 7.891 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/1.101, allocations: 10.16 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.101, allocations: 4 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.101, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.101, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/1.102, allocations: 142.2 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.102, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/1.102, allocations: 11.92 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.102, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/1.102, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.102, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.102, allocations: 4 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/1.102, allocations: 77.08 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/1.102, allocations: 91.95 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/1.102, allocations: 7.922 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/1.102, allocations: 0 / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/1.102, allocations: 4 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/1.102, allocations: 4 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.269e-05/1.102, allocations: 79.28 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.102, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003126/1.102, allocations: 23.98 kB / 1.102 GB, free: 14.57 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.0005156/1.103, allocations: 0.6319 MB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002766/1.103, allocations: 117.4 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.103, allocations: 0 / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.96e-05/1.103, allocations: 19.94 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/1.104, allocations: 5.719 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/1.104, allocations: 113.1 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/1.104, allocations: 0.6807 MB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.16e-05/1.104, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/1.104, allocations: 19.42 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/1.104, allocations: 0 / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/1.14, allocations: 1.38 MB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003446/1.14, allocations: 155.3 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.462, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)