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.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001065, allocations: 184.5 kB / 326.5 MB, free: 2.234 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.927/1.927, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001178/0.001178, allocations: 97.83 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 10.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2747, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001509/0.2763, allocations: 1.029 MB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000366/0.2767, allocations: 185.7 kB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.2768, allocations: 0 / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.2768, allocations: 0 / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.896e-05/0.2769, allocations: 11.98 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.277, allocations: 11.92 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.2771, allocations: 19.92 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.2772, allocations: 7.984 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/0.2772, allocations: 8 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.059e-05/0.2773, allocations: 11.92 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.2773, allocations: 3.984 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.2774, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.2774, allocations: 8 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.2774, allocations: 29.64 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.925e-05/0.2775, allocations: 23.95 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2775, allocations: 7.938 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2775, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2775, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 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.0004612/0.278, allocations: 335.6 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.278, allocations: 8.031 kB / 0.9018 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.2781, allocations: 34.56 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.2781, allocations: 11.91 kB / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2782, allocations: 175 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2783, allocations: 0 / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.2783, allocations: 0 / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.2784, allocations: 45.62 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2784, allocations: 0 / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.2784, allocations: 0 / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2784, allocations: 0 / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.2785, allocations: 12 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.2789, allocations: 260.9 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.2792, allocations: 94.5 kB / 0.9024 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.2792, allocations: 3.938 kB / 0.9024 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.2794, allocations: 55.56 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2794, allocations: 0 / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001649/0.2795, allocations: 61.59 kB / 0.9025 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2796, allocations: 51.41 kB / 0.9026 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.2796, allocations: 117.8 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.2797, allocations: 33.58 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.2797, allocations: 80.14 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.2797, allocations: 19.88 kB / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.2797, allocations: 0 / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.2798, allocations: 310.8 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.2798, allocations: 8 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.2799, allocations: 25.7 kB / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/0.2799, allocations: 16 kB / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2799, allocations: 0 / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.055e-05/0.28, allocations: 57.53 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.28, allocations: 8 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.28, allocations: 0 / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.28, allocations: 0 / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.548e-05/0.2801, allocations: 4.375 kB / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2801, allocations: 0 / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.2801, allocations: 23.95 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2801, allocations: 7.953 kB / 0.9033 GB, free: 60.39 MB / 0.6042 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 () * Number of clocked 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 6.322e-05/0.2802, allocations: 113.8 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.2802, allocations: 0 / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.2803, allocations: 7.906 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2803, allocations: 4.234 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2803, allocations: 0 / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2803, allocations: 3.984 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.535e-05/0.2804, allocations: 165.6 kB / 0.9035 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2804, allocations: 4 kB / 0.9035 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.2804, allocations: 7.938 kB / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2804, allocations: 0 / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2804, allocations: 0 / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2804, allocations: 4 kB / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2804, allocations: 0 / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.289e-05/0.2805, allocations: 84.97 kB / 0.9036 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.2806, allocations: 77.11 kB / 0.9037 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.2806, allocations: 4 kB / 0.9037 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.666e-05/0.2806, allocations: 11.98 kB / 0.9037 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.2807, allocations: 4 kB / 0.9037 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-06/0.2807, allocations: 0 / 0.9037 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.78e-05/0.2807, allocations: 91.2 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2807, allocations: 0 / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001724/0.2809, allocations: 8 kB / 0.9038 GB, free: 59.71 MB / 0.6042 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 () * Number of clocked 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.0002806/0.2812, allocations: 0.624 MB / 0.9044 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.413e-05/0.2813, allocations: 19.98 kB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2813, allocations: 0 / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.2813, allocations: 15.94 kB / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.2815, allocations: 7.984 kB / 0.9045 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.2821, allocations: 0.5553 MB / 0.905 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.2822, allocations: 0.6809 MB / 0.9057 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.2822, allocations: 8 kB / 0.9057 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.2823, allocations: 11.42 kB / 0.9057 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2823, allocations: 0 / 0.9057 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.2933, allocations: 1.226 MB / 0.9069 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.2935, allocations: 200 kB / 0.9071 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.957, allocations: 8.062 kB / 0.9071 GB, free: 56.38 MB / 0.6042 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)