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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 252 MB / 268 MB, free: 10.87 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.0009584/0.0009586, allocations: 173.7 kB / 327.6 MB, free: 2.098 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.904/1.904, allocations: 205.4 MB / 0.5786 GB, free: 20.42 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.001177/0.001177, allocations: 85.72 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004189, allocations: 12.09 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2808, allocations: 106.3 MB / 0.9015 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001553/0.2824, allocations: 1.037 MB / 0.9025 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003965/0.2828, allocations: 197.6 kB / 0.9027 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.2829, allocations: 0 / 0.9027 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.2829, allocations: 0 / 0.9027 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.403e-05/0.2829, allocations: 11.92 kB / 0.9027 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.478e-05/0.283, allocations: 4 kB / 0.9027 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.595e-05/0.2831, allocations: 31.86 kB / 0.9027 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.255e-05/0.2833, allocations: 7.984 kB / 0.9027 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.2833, allocations: 11.94 kB / 0.9027 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.689e-05/0.2833, allocations: 11.92 kB / 0.9027 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2834, allocations: 8 kB / 0.9027 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.2834, allocations: 0 / 0.9027 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.2834, allocations: 7.984 kB / 0.9028 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.2835, allocations: 33.64 kB / 0.9028 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.942e-05/0.2836, allocations: 23.95 kB / 0.9028 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.2836, allocations: 0 / 0.9028 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2836, allocations: 0 / 0.9028 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.975e-06/0.2836, allocations: 7.938 kB / 0.9028 GB, free: 62.42 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.0003895/0.284, allocations: 347.7 kB / 0.9031 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.2841, allocations: 8.031 kB / 0.9032 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.2841, allocations: 4.844 kB / 0.9032 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.296e-05/0.2842, allocations: 176.3 kB / 0.9033 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2842, allocations: 384 / 0.9033 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.2842, allocations: 4.375 kB / 0.9033 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.07e-05/0.2843, allocations: 38.25 kB / 0.9034 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2843, allocations: 4.188 kB / 0.9034 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.2843, allocations: 3.938 kB / 0.9034 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2843, allocations: 0 / 0.9034 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.2844, allocations: 16 kB / 0.9034 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.2847, allocations: 253 kB / 0.9036 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.2851, allocations: 106.4 kB / 0.9037 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.2851, allocations: 12.92 kB / 0.9037 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.2851, allocations: 0 / 0.9037 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.2854, allocations: 55.41 kB / 0.9038 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2854, allocations: 4 kB / 0.9038 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001275/0.2855, allocations: 65.62 kB / 0.9039 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.2856, allocations: 51.41 kB / 0.9039 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2857, allocations: 105.8 kB / 0.904 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.2857, allocations: 25.7 kB / 0.904 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.2857, allocations: 88.12 kB / 0.9041 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.2858, allocations: 7.906 kB / 0.9041 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.2858, allocations: 4 kB / 0.9041 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.2858, allocations: 314.8 kB / 0.9044 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.2859, allocations: 8 kB / 0.9044 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.249e-05/0.2859, allocations: 25.7 kB / 0.9045 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.2859, allocations: 25.66 kB / 0.9045 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2859, allocations: 7.938 kB / 0.9045 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.466e-05/0.286, allocations: 57.59 kB / 0.9046 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.286, allocations: 4 kB / 0.9046 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.2861, allocations: 4.031 kB / 0.9046 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.2861, allocations: 4 kB / 0.9046 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.2862, allocations: 3.938 kB / 0.9046 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2862, allocations: 4 kB / 0.9046 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.2863, allocations: 11.92 kB / 0.9046 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2863, allocations: 3.938 kB / 0.9046 GB, free: 60.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/0.2863, allocations: 121.7 kB / 0.9047 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.2863, allocations: 4 kB / 0.9047 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.2864, allocations: 11.91 kB / 0.9047 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2864, allocations: 0 / 0.9047 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2864, allocations: 3.984 kB / 0.9047 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.2864, allocations: 0 / 0.9047 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.696e-05/0.2865, allocations: 165.6 kB / 0.9049 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2865, allocations: 0 / 0.9049 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.2866, allocations: 7.984 kB / 0.9049 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2866, allocations: 0 / 0.9049 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.2866, allocations: 384 / 0.9049 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2866, allocations: 0 / 0.9049 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.2866, allocations: 4 kB / 0.9049 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.2867, allocations: 93.14 kB / 0.905 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.2868, allocations: 77.11 kB / 0.9051 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.2868, allocations: 0 / 0.9051 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.93e-05/0.2868, allocations: 12.03 kB / 0.9051 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.2869, allocations: 7.984 kB / 0.9051 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.2869, allocations: 3.984 kB / 0.9051 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.155e-05/0.287, allocations: 91.28 kB / 0.9052 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.287, allocations: 0 / 0.9052 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001899/0.2872, allocations: 4 kB / 0.9052 GB, free: 59.67 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 (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.000161/0.2874, allocations: 99.25 kB / 0.9053 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.142e-05/0.2875, allocations: 27.92 kB / 0.9053 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2875, allocations: 0 / 0.9053 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.95e-05/0.2875, allocations: 12 kB / 0.9053 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.2877, allocations: 21.7 kB / 0.9053 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.288, allocations: 176.1 kB / 0.9055 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.2882, allocations: 0.6809 MB / 0.9062 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.2882, allocations: 7.438 kB / 0.9062 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2882, allocations: 0 / 0.9062 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.002072/0.2903, allocations: 0.6546 MB / 0.9068 GB, free: 57.93 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)