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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 192.8 kB / 16.14 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.901/1.901, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.34 kB / 0.6708 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2946, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002128/0.2968, allocations: 0.6844 MB / 0.7834 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2983, allocations: 1.118 MB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.2983, allocations: 3.938 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.2984, allocations: 3.938 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.017e-05/0.2985, allocations: 11.92 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.2989, allocations: 106.6 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.81e-05/0.299, allocations: 75.83 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2991, allocations: 12 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.2992, allocations: 31.91 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.871e-05/0.2993, allocations: 27.95 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.2993, allocations: 4 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.605e-05/0.2994, allocations: 15.94 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.2994, allocations: 7.984 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.2995, allocations: 23.92 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.2996, allocations: 83.78 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2996, allocations: 0 / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2996, allocations: 0 / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2997, allocations: 0 / 0.7848 GB, free: 11.83 MB / 0.6075 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.0004992/0.3002, allocations: 381.4 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3002, allocations: 8.031 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.3003, allocations: 8.844 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3004, allocations: 176.3 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.3004, allocations: 8.312 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3004, allocations: 4.375 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3005, allocations: 42.25 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3006, allocations: 192 / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3006, allocations: 3.938 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3006, allocations: 4 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.3006, allocations: 4 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.301, allocations: 296.8 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.87e-05/0.3011, allocations: 30.45 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.3011, allocations: 12.92 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-06/0.3012, allocations: 3.984 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.3013, allocations: 63.41 kB / 0.7858 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3013, allocations: 0 / 0.7858 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002133/0.3015, allocations: 77.52 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3016, allocations: 55.41 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.3017, allocations: 109.8 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3017, allocations: 29.7 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.3018, allocations: 88.14 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.3018, allocations: 11.91 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.3018, allocations: 29.7 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.302, allocations: 318.8 kB / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.302, allocations: 27.98 kB / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.934e-05/0.3021, allocations: 54.5 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.3022, allocations: 88.2 kB / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.3023, allocations: 3.938 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002471/0.3025, allocations: 151.2 kB / 0.7868 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.3026, allocations: 37.69 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3026, allocations: 4 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3026, allocations: 64 / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.3026, allocations: 8 kB / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3027, allocations: 0 / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.3029, allocations: 32.02 kB / 0.7869 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.3029, allocations: 4 kB / 0.7869 GB, free: 9.43 MB / 0.6075 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,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.718e-05/0.303, allocations: 122.4 kB / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.303, allocations: 7.906 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.3031, allocations: 3.906 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3031, allocations: 0 / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3031, allocations: 0 / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3031, allocations: 7.984 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3032, allocations: 169.6 kB / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3032, allocations: 0 / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.3033, allocations: 4 kB / 0.7872 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3033, allocations: 3.984 kB / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3033, allocations: 0 / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3033, allocations: 0 / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3033, allocations: 240 / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3034, allocations: 89.05 kB / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.3034, allocations: 85.02 kB / 0.7874 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.3035, allocations: 7.984 kB / 0.7874 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.54e-05/0.3035, allocations: 0 / 0.7874 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.3035, allocations: 11.88 kB / 0.7874 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.3035, allocations: 0 / 0.7874 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.3036, allocations: 91.27 kB / 0.7875 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3036, allocations: 0 / 0.7875 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002025/0.3038, allocations: 12 kB / 0.7875 GB, free: 8.723 MB / 0.6075 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.304, allocations: 99.25 kB / 0.7876 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.3042, allocations: 127.4 kB / 0.7877 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3042, allocations: 0 / 0.7877 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.3042, allocations: 19.92 kB / 0.7877 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.3044, allocations: 15.88 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.3048, allocations: 131.9 kB / 0.7879 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.305, allocations: 0.6848 MB / 0.7885 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.3051, allocations: 256 / 0.7885 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.3051, allocations: 11.44 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3051, allocations: 0 / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of Templates: time 0.003274/0.3084, allocations: 1.037 MB / 0.7896 GB, free: 6.547 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)