Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.702/1.702, allocations: 287.4 MB / 303.2 MB, free: 8.344 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.001026/0.001026, allocations: 189.8 kB / 371.8 MB, free: 10.82 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.585/1.585, allocations: 205.4 MB / 0.6304 GB, free: 10.54 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.0008982/0.0008983, allocations: 86.38 kB / 0.7437 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004386, allocations: 15.11 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2702, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0008442/0.2711, allocations: 341.9 kB / 0.9796 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2724, allocations: 1.086 MB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.2724, allocations: 3.938 kB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.2724, allocations: 0 / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.284e-05/0.2725, allocations: 7.938 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.2729, allocations: 106.3 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.217e-05/0.273, allocations: 79.81 kB / 0.9809 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.2731, allocations: 7.984 kB / 0.9809 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.52e-05/0.2732, allocations: 31.86 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.2733, allocations: 27.95 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.2733, allocations: 4 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.859e-05/0.2734, allocations: 11.98 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.2734, allocations: 11.94 kB / 0.981 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.2735, allocations: 29.7 kB / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.2736, allocations: 59.88 kB / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.2736, allocations: 0 / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2736, allocations: 0 / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.2736, allocations: 0 / 0.981 GB, free: 26.38 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.0003745/0.274, allocations: 367.2 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.274, allocations: 8.031 kB / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.2741, allocations: 8.938 kB / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.2742, allocations: 172.3 kB / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.2742, allocations: 384 / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2742, allocations: 8.375 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.172e-05/0.2743, allocations: 46.19 kB / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2743, allocations: 192 / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.2744, allocations: 3.938 kB / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2744, allocations: 0 / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.2744, allocations: 11.98 kB / 0.9816 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.2748, allocations: 292.8 kB / 0.9819 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.551e-05/0.2749, allocations: 42.44 kB / 0.982 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.2749, allocations: 12.92 kB / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.2749, allocations: 0 / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.275, allocations: 63.38 kB / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2751, allocations: 0 / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001801/0.2752, allocations: 65.59 kB / 0.9821 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.2753, allocations: 59.34 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.543e-05/0.2753, allocations: 113.8 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2754, allocations: 29.69 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.2754, allocations: 84.14 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.2754, allocations: 7.906 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/0.2754, allocations: 7.938 kB / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.2755, allocations: 310.8 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.2756, allocations: 31.98 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-05/0.2756, allocations: 58.55 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.191e-05/0.2757, allocations: 84.2 kB / 0.9828 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2757, allocations: 0 / 0.9828 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002026/0.276, allocations: 151.2 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.276, allocations: 29.7 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.276, allocations: 4 kB / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.276, allocations: 0 / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.2761, allocations: 12.05 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2761, allocations: 0 / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.2763, allocations: 39.88 kB / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.2763, allocations: 4 kB / 0.9831 GB, free: 24.03 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: 5 ($whenCondition1,$whenCondition2,booToInt.y,$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.83e-05/0.2764, allocations: 129.8 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.2764, allocations: 0 / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.2765, allocations: 3.906 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2765, allocations: 4 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2765, allocations: 0 / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.2765, allocations: 81.02 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.2765, allocations: 0 / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.573e-05/0.2765, allocations: 0 / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.2766, allocations: 15.86 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.41e-05/0.2767, allocations: 141 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.745e-05/0.2768, allocations: 230.8 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.725e-05/0.2768, allocations: 15.94 kB / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.571e-05/0.2768, allocations: 91.2 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of Backend: time 3.7e-07/0.2769, allocations: 0 / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.2773, allocations: 197.8 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003698/0.2777, allocations: 0.582 MB / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.003153/0.2808, allocations: 1.036 MB / 0.9855 GB, free: 21.41 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)