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.001168/0.001168, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001121/0.001121, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.503/1.503, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.773/1.773, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001407/0.001407, allocations: 66.34 kB / 0.6717 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2734, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002126/0.2756, allocations: 0.6843 MB / 0.7842 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.2772, allocations: 1.115 MB / 0.7853 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.2773, allocations: 0 / 0.7853 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.417e-05/0.2773, allocations: 3.938 kB / 0.7853 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.2774, allocations: 4 kB / 0.7853 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.2779, allocations: 115.8 kB / 0.7854 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.2781, allocations: 95.89 kB / 0.7855 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.2782, allocations: 4 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.2783, allocations: 39.84 kB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.103e-05/0.2783, allocations: 23.97 kB / 0.7856 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.2784, allocations: 8 kB / 0.7856 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.69e-05/0.2784, allocations: 19.98 kB / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.2785, allocations: 19.92 kB / 0.7856 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.2785, allocations: 27.91 kB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.2787, allocations: 59.89 kB / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2787, allocations: 0 / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2787, allocations: 0 / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2787, allocations: 0 / 0.7857 GB, free: 11.67 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.0004842/0.2792, allocations: 381.4 kB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2792, allocations: 8.031 kB / 0.7861 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.2793, allocations: 8.844 kB / 0.7861 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2794, allocations: 164.4 kB / 0.7862 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.2794, allocations: 4.375 kB / 0.7862 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.2795, allocations: 8.375 kB / 0.7862 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.2796, allocations: 46.19 kB / 0.7863 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2796, allocations: 192 / 0.7863 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2796, allocations: 3.938 kB / 0.7863 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2796, allocations: 0 / 0.7863 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.2797, allocations: 15.98 kB / 0.7863 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.2801, allocations: 288.8 kB / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.413e-05/0.2802, allocations: 42.44 kB / 0.7866 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.2802, allocations: 8.922 kB / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.2802, allocations: 3.938 kB / 0.7866 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.2804, allocations: 63.39 kB / 0.7867 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2804, allocations: 0 / 0.7867 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001992/0.2806, allocations: 73.59 kB / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.2806, allocations: 59.34 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/0.2807, allocations: 105.8 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.2808, allocations: 29.7 kB / 0.7869 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.2808, allocations: 88.12 kB / 0.787 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.2809, allocations: 7.906 kB / 0.787 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.2809, allocations: 29.7 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2811, allocations: 314.8 kB / 0.7874 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.2811, allocations: 35.92 kB / 0.7874 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.2812, allocations: 54.55 kB / 0.7874 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.2813, allocations: 84.2 kB / 0.7875 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2814, allocations: 3.938 kB / 0.7875 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002492/0.2816, allocations: 151.2 kB / 0.7877 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.2817, allocations: 37.77 kB / 0.7877 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2817, allocations: 4 kB / 0.7877 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2817, allocations: 0 / 0.7877 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.2818, allocations: 7.984 kB / 0.7877 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2818, allocations: 0 / 0.7877 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.282, allocations: 23.97 kB / 0.7877 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.282, allocations: 4 kB / 0.7877 GB, free: 9.281 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.087e-05/0.2821, allocations: 121.8 kB / 0.7879 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.2821, allocations: 11.89 kB / 0.7879 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.2822, allocations: 7.906 kB / 0.7879 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2822, allocations: 4.234 kB / 0.7879 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2822, allocations: 0 / 0.7879 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2822, allocations: 3.984 kB / 0.7879 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.2823, allocations: 165.6 kB / 0.788 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2823, allocations: 4.062 kB / 0.7881 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.2823, allocations: 3.938 kB / 0.7881 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2823, allocations: 0 / 0.7881 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.2824, allocations: 0 / 0.7881 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2824, allocations: 8 kB / 0.7881 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2824, allocations: 3.938 kB / 0.7881 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.2825, allocations: 89.05 kB / 0.7882 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.2825, allocations: 77.11 kB / 0.7882 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2826, allocations: 0 / 0.7882 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.323e-05/0.2826, allocations: 4 kB / 0.7882 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.2826, allocations: 0 / 0.7882 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.2826, allocations: 0 / 0.7882 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.2827, allocations: 95.27 kB / 0.7883 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2827, allocations: 0 / 0.7883 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002059/0.2829, allocations: 19.91 kB / 0.7883 GB, free: 8.57 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.0001436/0.283, allocations: 107.2 kB / 0.7884 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.2833, allocations: 123.4 kB / 0.7886 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2833, allocations: 0 / 0.7886 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.2833, allocations: 19.94 kB / 0.7886 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.2835, allocations: 28.55 kB / 0.7886 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.2839, allocations: 155.8 kB / 0.7888 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2841, allocations: 0.6807 MB / 0.7894 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.851e-05/0.2841, allocations: 11.44 kB / 0.7894 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of SimCode: time 1.91e-07/0.2841, allocations: 0 / 0.7894 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of Templates: time 0.002563/0.2867, allocations: 0.9302 MB / 0.7903 GB, free: 6.449 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)