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.399/1.399, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001166/0.001166, allocations: 173.9 kB / 326.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0009951/0.0009949, allocations: 88.94 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 18.69 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.271, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001607/0.2727, allocations: 1.046 MB / 0.8978 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004161/0.2731, allocations: 193 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.2732, allocations: 0 / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.2732, allocations: 0 / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.849e-05/0.2733, allocations: 3.938 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.2735, allocations: 12 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.568e-05/0.2736, allocations: 35.86 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2737, allocations: 7.984 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.851e-05/0.2737, allocations: 7.938 kB / 0.898 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.2738, allocations: 19.91 kB / 0.898 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.2738, allocations: 0 / 0.898 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.2738, allocations: 4 kB / 0.898 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.2739, allocations: 0 / 0.898 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.2739, allocations: 11.94 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.987e-05/0.274, allocations: 20.17 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.274, allocations: 4 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.274, allocations: 0 / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.274, allocations: 0 / 0.8981 GB, free: 66.75 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.0004784/0.2745, allocations: 339.5 kB / 0.8984 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2745, allocations: 12.03 kB / 0.8984 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.2746, allocations: 4.844 kB / 0.8984 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2747, allocations: 180.2 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2747, allocations: 4.375 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.2748, allocations: 12.3 kB / 0.8986 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.2749, allocations: 38.25 kB / 0.8986 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2749, allocations: 192 / 0.8986 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.2749, allocations: 7.875 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2749, allocations: 4 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.275, allocations: 8 kB / 0.8987 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.2753, allocations: 253 kB / 0.8989 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.2757, allocations: 106.4 kB / 0.899 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.2757, allocations: 16.92 kB / 0.899 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.2757, allocations: 0 / 0.899 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.2759, allocations: 55.41 kB / 0.8991 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2759, allocations: 0 / 0.8991 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.2761, allocations: 61.62 kB / 0.8991 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.2762, allocations: 55.41 kB / 0.8992 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.2762, allocations: 117.8 kB / 0.8993 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.2763, allocations: 25.7 kB / 0.8993 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.2763, allocations: 88.12 kB / 0.8994 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.2763, allocations: 7.906 kB / 0.8994 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.2764, allocations: 9.719 kB / 0.8994 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.2764, allocations: 314.8 kB / 0.8997 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.2765, allocations: 15.98 kB / 0.8997 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.2765, allocations: 13.72 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.431e-05/0.2766, allocations: 33.66 kB / 0.8998 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2766, allocations: 7.938 kB / 0.8998 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.126e-05/0.2767, allocations: 57.59 kB / 0.8998 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2767, allocations: 7.938 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.2767, allocations: 0 / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2767, allocations: 4 kB / 0.8999 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.87e-05/0.2767, allocations: 3.984 kB / 0.8999 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2768, allocations: 4 kB / 0.8999 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.2768, allocations: 8.031 kB / 0.8999 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.2768, allocations: 0 / 0.8999 GB, free: 64.68 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.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 6.665e-05/0.2769, allocations: 117.8 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.2769, allocations: 4 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.277, allocations: 8.125 kB / 0.9 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.277, allocations: 3.984 kB / 0.9 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.277, allocations: 0 / 0.9 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.277, allocations: 0 / 0.9 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.2771, allocations: 173.9 kB / 0.9002 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2771, allocations: 7.938 kB / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.2771, allocations: 8 kB / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2771, allocations: 0 / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.2772, allocations: 0 / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2772, allocations: 0 / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2772, allocations: 0 / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.481e-05/0.2773, allocations: 88.91 kB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.2773, allocations: 81.05 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.2773, allocations: 7.984 kB / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.708e-05/0.2774, allocations: 4 kB / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.2774, allocations: 11.98 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2774, allocations: 0 / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.2775, allocations: 83.28 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2775, allocations: 0 / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002248/0.2777, allocations: 8 kB / 0.9005 GB, free: 63.98 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.0001149/0.2778, allocations: 107.2 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.2779, allocations: 19.94 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.278, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.278, allocations: 19.98 kB / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2782, allocations: 11.94 kB / 0.9006 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.2786, allocations: 157.3 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.2787, allocations: 0.6849 MB / 0.9014 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.2788, allocations: 11.38 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2788, allocations: 0 / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.002105/0.2809, allocations: 0.6669 MB / 0.9021 GB, free: 62.25 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)