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.0008242/0.0008242, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.008613/0.008614, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.773/1.773, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.846/1.846, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.001042/0.001042, allocations: 13.78 kB / 0.6743 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3659, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.000939/0.3669, allocations: 353.8 kB / 0.7882 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3686, allocations: 1.107 MB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.3687, allocations: 3.938 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.3687, allocations: 3.938 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.859e-05/0.3688, allocations: 7.984 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.3693, allocations: 107.4 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.3695, allocations: 79.83 kB / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3696, allocations: 15.98 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.18e-05/0.3697, allocations: 31.91 kB / 0.7895 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3698, allocations: 23.95 kB / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.3699, allocations: 4 kB / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.963e-05/0.3699, allocations: 15.98 kB / 0.7896 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.37, allocations: 7.938 kB / 0.7896 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.61e-05/0.3701, allocations: 49.62 kB / 0.7896 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.3703, allocations: 83.77 kB / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3703, allocations: 3.938 kB / 0.7897 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3703, allocations: 0 / 0.7897 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.3703, allocations: 4 kB / 0.7897 GB, free: 9.695 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.0006096/0.371, allocations: 361.4 kB / 0.7901 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.15e-05/0.371, allocations: 16.02 kB / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.3711, allocations: 4.938 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3713, allocations: 168.3 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.3713, allocations: 4.375 kB / 0.7903 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.3714, allocations: 12.31 kB / 0.7903 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3715, allocations: 34.25 kB / 0.7903 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3715, allocations: 4.188 kB / 0.7903 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3716, allocations: 7.938 kB / 0.7903 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3716, allocations: 0 / 0.7903 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.3716, allocations: 11.98 kB / 0.7903 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.3721, allocations: 288.8 kB / 0.7906 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.3722, allocations: 34.45 kB / 0.7906 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.3722, allocations: 12.84 kB / 0.7906 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.3723, allocations: 8.062 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.3724, allocations: 59.39 kB / 0.7907 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3725, allocations: 0 / 0.7907 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002134/0.3727, allocations: 69.53 kB / 0.7908 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3727, allocations: 51.41 kB / 0.7908 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3728, allocations: 113.8 kB / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3729, allocations: 25.7 kB / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.3729, allocations: 100.1 kB / 0.7911 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.373, allocations: 7.891 kB / 0.7911 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.373, allocations: 13.72 kB / 0.7911 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3731, allocations: 318.8 kB / 0.7914 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.3732, allocations: 27.98 kB / 0.7914 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.3733, allocations: 54.86 kB / 0.7915 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.3735, allocations: 92.2 kB / 0.7915 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3735, allocations: 3.938 kB / 0.7916 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002454/0.3737, allocations: 147.2 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.3738, allocations: 37.7 kB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3738, allocations: 0 / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3738, allocations: 0 / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.3739, allocations: 7.984 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3739, allocations: 4.062 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.3742, allocations: 40.03 kB / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3742, allocations: 4 kB / 0.7918 GB, free: 7.324 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 0.00012/0.3743, allocations: 122.4 kB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.3743, allocations: 4.062 kB / 0.7919 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.3744, allocations: 19.84 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3744, allocations: 3.938 kB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3744, allocations: 0 / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3744, allocations: 0 / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.3746, allocations: 173.5 kB / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3746, allocations: 0 / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.3746, allocations: 4.234 kB / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3746, allocations: 0 / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.3746, allocations: 0 / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3746, allocations: 0 / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3746, allocations: 0 / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.3748, allocations: 101 kB / 0.7922 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.3748, allocations: 77.11 kB / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3748, allocations: 0 / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.3749, allocations: 0 / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.3749, allocations: 4 kB / 0.7923 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3749, allocations: 3.984 kB / 0.7923 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.715e-05/0.375, allocations: 91.22 kB / 0.7924 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.375, allocations: 7.938 kB / 0.7924 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002009/0.3752, allocations: 12 kB / 0.7924 GB, free: 6.609 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.000194/0.3754, allocations: 103.2 kB / 0.7925 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.3756, allocations: 123.4 kB / 0.7926 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3756, allocations: 0 / 0.7926 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.3757, allocations: 15.94 kB / 0.7926 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.3759, allocations: 19.86 kB / 0.7926 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.3763, allocations: 145.6 kB / 0.7928 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.3767, allocations: 0.677 MB / 0.7934 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.398e-05/0.3767, allocations: 4.25 kB / 0.7934 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.3767, allocations: 11.44 kB / 0.7934 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3767, allocations: 0 / 0.7934 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of Templates: time 0.004032/0.3808, allocations: 1.02 MB / 0.7944 GB, free: 4.434 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: