Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 112.1 kB / 16.38 MB, free: 6.023 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.001371/0.001371, allocations: 192.3 kB / 17.32 MB, free: 5.613 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.726/1.726, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.023/2.023, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.001543/0.001543, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.279, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002089/0.2812, allocations: 0.6272 MB / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2826, allocations: 1.102 MB / 0.7865 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.2827, allocations: 4 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.2827, allocations: 3.938 kB / 0.7865 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.2828, allocations: 3.938 kB / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.2833, allocations: 127.8 kB / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.2834, allocations: 95.86 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.2835, allocations: 8 kB / 0.7867 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.2836, allocations: 39.91 kB / 0.7868 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.2837, allocations: 31.89 kB / 0.7868 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.2837, allocations: 8 kB / 0.7868 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.552e-05/0.2838, allocations: 23.92 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.2838, allocations: 8 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.208e-05/0.2839, allocations: 27.91 kB / 0.7869 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.2841, allocations: 91.72 kB / 0.787 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2841, allocations: 0 / 0.787 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2841, allocations: 0 / 0.787 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.2841, allocations: 0 / 0.787 GB, free: 0.9883 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004831/0.2846, allocations: 381.1 kB / 0.7873 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2846, allocations: 12.03 kB / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.2847, allocations: 4.938 kB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.2848, allocations: 164.3 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.2849, allocations: 8.359 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.2849, allocations: 4.375 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.202e-05/0.285, allocations: 42.19 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.285, allocations: 192 / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.285, allocations: 7.938 kB / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.285, allocations: 0 / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.2851, allocations: 12 kB / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5744/0.8595, allocations: 297 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.8597, allocations: 26.98 kB / 0.7879 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.8597, allocations: 12.44 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.8597, allocations: 3.469 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.86, allocations: 62.27 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 4.749e-06/0.86, allocations: 0.5938 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.000286/0.8603, allocations: 68.44 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.8603, allocations: 64.47 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.8604, allocations: 108.6 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.8605, allocations: 25.7 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.8605, allocations: 86.55 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.8605, allocations: 6.719 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.8606, allocations: 29.75 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.8607, allocations: 320.4 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.8608, allocations: 28.98 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.8609, allocations: 51.16 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.861, allocations: 87.72 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.861, allocations: 3.938 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002444/0.8612, allocations: 148.2 kB / 0.7889 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.8613, allocations: 38.39 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8613, allocations: 3.938 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.8613, allocations: 4.25 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.8614, allocations: 8.172 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.8615, allocations: 0 / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.8617, allocations: 29.05 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.8617, allocations: 9.828 kB / 0.789 GB, free: 47.88 MB / 0.6544 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,booPul.y,$PRE.booPul.y,booToInt.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 8.268e-05/0.8618, allocations: 113.8 kB / 0.7891 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.8618, allocations: 6.531 kB / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.8619, allocations: 7.844 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8619, allocations: 1.172 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8619, allocations: 2.656 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.8619, allocations: 88.83 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.8619, allocations: 0.5312 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.862, allocations: 5.312 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.862, allocations: 0 / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001077/0.8621, allocations: 139.1 kB / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001175/0.8622, allocations: 232.5 kB / 0.7896 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.534e-05/0.8623, allocations: 14.56 kB / 0.7896 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.8623, allocations: 87.59 kB / 0.7897 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of Backend: time 7.41e-07/0.8623, allocations: 0 / 0.7897 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.8628, allocations: 198.7 kB / 0.7899 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004957/0.8633, allocations: 0.5779 MB / 0.7904 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of Templates: time 0.00392/0.8673, allocations: 1.113 MB / 0.7915 GB, free: 46.56 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)