Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.819/1.819, allocations: 288.4 MB / 303.4 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.001061, allocations: 175.2 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00075/0.00075, allocations: 88.59 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 15.34 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2546, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.000757/0.2554, allocations: 342.1 kB / 0.9799 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.2566, allocations: 1.091 MB / 0.981 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.2566, allocations: 0 / 0.981 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.2567, allocations: 7.938 kB / 0.981 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.421e-05/0.2567, allocations: 4 kB / 0.981 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.2572, allocations: 106.2 kB / 0.9811 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.2573, allocations: 71.83 kB / 0.9812 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.2574, allocations: 11.97 kB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.2574, allocations: 23.98 kB / 0.9812 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.2575, allocations: 23.91 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.2575, allocations: 4 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.989e-05/0.2576, allocations: 27.98 kB / 0.9813 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2576, allocations: 3.938 kB / 0.9813 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.2577, allocations: 37.69 kB / 0.9813 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.465e-05/0.2578, allocations: 55.86 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2578, allocations: 0 / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2578, allocations: 0 / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2578, allocations: 0 / 0.9813 GB, free: 25.87 MB / 0.6198 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.0003461/0.2582, allocations: 365.2 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2582, allocations: 8.031 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.2582, allocations: 4 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.353e-05/0.2583, allocations: 174.9 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.2584, allocations: 7.984 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.2584, allocations: 4 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.244e-05/0.2585, allocations: 41.62 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2585, allocations: 0 / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.2585, allocations: 0 / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2585, allocations: 4 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.399e-05/0.2586, allocations: 8 kB / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.2589, allocations: 300.8 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.2589, allocations: 22.58 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.259, allocations: 12.92 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.259, allocations: 3.938 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.2591, allocations: 59.39 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.2591, allocations: 3.938 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001629/0.2593, allocations: 77.67 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.2593, allocations: 51.41 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.506e-05/0.2594, allocations: 117.7 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2594, allocations: 29.7 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.2594, allocations: 84.14 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.2595, allocations: 7.906 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.2595, allocations: 7.938 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.374e-05/0.2595, allocations: 326.8 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.2596, allocations: 35.98 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.2597, allocations: 42.88 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.883e-05/0.2597, allocations: 57.69 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2598, allocations: 0 / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001973/0.26, allocations: 151.3 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.26, allocations: 29.7 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.26, allocations: 8.062 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.26, allocations: 3.984 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/0.2601, allocations: 4 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2601, allocations: 80 / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.2603, allocations: 35.88 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2603, allocations: 15.98 kB / 0.9834 GB, free: 23.55 MB / 0.6198 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,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.2604, allocations: 127.2 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-06/0.2604, allocations: 0 / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.2605, allocations: 11.91 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2605, allocations: 0 / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2605, allocations: 240 / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2605, allocations: 0 / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.909e-05/0.2606, allocations: 165.6 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2606, allocations: 3.984 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.2606, allocations: 0 / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2606, allocations: 4 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.2606, allocations: 4 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2606, allocations: 0 / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2606, allocations: 0 / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.752e-05/0.2607, allocations: 96.91 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.2607, allocations: 81.05 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.2607, allocations: 4 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.2608, allocations: 64 / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.2608, allocations: 8 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.2608, allocations: 7.984 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.288e-05/0.2608, allocations: 83.28 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2608, allocations: 0 / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001944/0.261, allocations: 16 kB / 0.9839 GB, free: 22.86 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001111/0.2612, allocations: 111.2 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.2614, allocations: 123.3 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2614, allocations: 128 / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.2614, allocations: 12 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.2616, allocations: 27.81 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.2618, allocations: 130.7 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.255e-05/0.2619, allocations: 0.6848 MB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.2619, allocations: 7.906 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.315e-05/0.262, allocations: 11.44 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.262, allocations: 0 / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of Templates: time 0.002726/0.2647, allocations: 0.9877 MB / 0.986 GB, free: 20.71 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)