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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006619/0.006619, allocations: 100.4 kB / 15.73 MB, free: 5.988 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.00123/0.00123, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.696/1.696, allocations: 205.1 MB / 222.6 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.719/1.719, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.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.001521/0.001522, allocations: 75.89 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2693, allocations: 104.7 MB / 0.828 GB, free: 340 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002542/0.2719, allocations: 1.315 MB / 0.8293 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004998/0.2724, allocations: 192.7 kB / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.2725, allocations: 0 / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.2725, allocations: 3.938 kB / 0.8295 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.2727, allocations: 11.94 kB / 0.8295 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.2729, allocations: 7.984 kB / 0.8295 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.383e-05/0.273, allocations: 31.86 kB / 0.8296 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2731, allocations: 8 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.2732, allocations: 15.92 kB / 0.8296 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.2732, allocations: 15.92 kB / 0.8296 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.2732, allocations: 4 kB / 0.8296 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.2733, allocations: 4 kB / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.2733, allocations: 7.984 kB / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.2733, allocations: 11.94 kB / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.2734, allocations: 31.83 kB / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2735, allocations: 0 / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2735, allocations: 0 / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2735, allocations: 0 / 0.8296 GB, free: 14.66 MB / 0.6544 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.0005842/0.2741, allocations: 351.4 kB / 0.83 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.2741, allocations: 8.031 kB / 0.83 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.2742, allocations: 4.938 kB / 0.83 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.2744, allocations: 172.2 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2744, allocations: 8.312 kB / 0.8302 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.2744, allocations: 4.312 kB / 0.8302 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.2746, allocations: 42.25 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2746, allocations: 192 / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2746, allocations: 3.938 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2746, allocations: 0 / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.366e-05/0.2747, allocations: 16 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.2751, allocations: 260.9 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.2755, allocations: 82.38 kB / 0.8306 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.2755, allocations: 8.922 kB / 0.8306 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.2755, allocations: 4 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.2757, allocations: 55.5 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2757, allocations: 0 / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002236/0.2759, allocations: 69.61 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.276, allocations: 51.41 kB / 0.8307 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/0.2761, allocations: 109.8 kB / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2761, allocations: 25.7 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.2761, allocations: 92.12 kB / 0.831 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.2762, allocations: 11.81 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.2762, allocations: 17.72 kB / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2763, allocations: 314.8 kB / 0.8313 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.2763, allocations: 7.984 kB / 0.8313 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.2764, allocations: 21.72 kB / 0.8313 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.2764, allocations: 33.66 kB / 0.8313 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2764, allocations: 7.938 kB / 0.8314 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.885e-05/0.2765, allocations: 49.69 kB / 0.8314 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2766, allocations: 4 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2766, allocations: 0 / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2766, allocations: 7.938 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.092e-05/0.2766, allocations: 7.984 kB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2766, allocations: 4 kB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.2767, allocations: 4 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2767, allocations: 32 / 0.8314 GB, free: 12.6 MB / 0.6544 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.pulseStart,$PRE.booPul.pulseStart,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): 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 8.105e-05/0.2768, allocations: 117.8 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.2768, allocations: 11.89 kB / 0.8315 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.2769, allocations: 3.906 kB / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2769, allocations: 4 kB / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2769, allocations: 3.938 kB / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2769, allocations: 3.938 kB / 0.8316 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.277, allocations: 169.6 kB / 0.8317 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.277, allocations: 0 / 0.8317 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.277, allocations: 0 / 0.8317 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.277, allocations: 4 kB / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2771, allocations: 0 / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2771, allocations: 4 kB / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2771, allocations: 0 / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.2772, allocations: 81 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.2772, allocations: 81.09 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.2772, allocations: 4.375 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.2773, allocations: 0 / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.2773, allocations: 11.98 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.2774, allocations: 4 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.2774, allocations: 87.28 kB / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2774, allocations: 0 / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001872/0.2776, allocations: 15.84 kB / 0.832 GB, free: 11.9 MB / 0.6544 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.000118/0.2777, allocations: 103.2 kB / 0.8321 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.2778, allocations: 19.94 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2779, allocations: 4.062 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.2779, allocations: 20.36 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.2781, allocations: 10.75 kB / 0.8322 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.2784, allocations: 130 kB / 0.8323 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.2787, allocations: 0.6805 MB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.495e-05/0.2787, allocations: 4.094 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.2787, allocations: 11.38 kB / 0.833 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.2787, allocations: 4 kB / 0.833 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.002935/0.2817, allocations: 0.5493 MB / 0.8335 GB, free: 10.32 MB / 0.6544 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)